From e50c2a4259e0de737bea492d79e30f253caf1fd3 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 1 Mar 2014 11:08:31 -0800 Subject: [PATCH] add: avoid quotes preserved in quoted cli args --- hledger/Hledger/Cli/Add.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/Add.hs b/hledger/Hledger/Cli/Add.hs index e6087ee5c..81e38995a 100644 --- a/hledger/Hledger/Cli/Add.hs +++ b/hledger/Hledger/Cli/Add.hs @@ -67,7 +67,7 @@ add opts j showHelp today <- getCurrentDay let es = defEntryState{esOpts=opts - ,esArgs=listofstringopt "args" $ rawopts_ opts + ,esArgs=map stripquotes $ listofstringopt "args" $ rawopts_ opts ,esToday=today ,esDefDate=today ,esJournal=j