diff --git a/hledger/Hledger/Cli.hs b/hledger/Hledger/Cli.hs index 99e5da56e..41766af43 100644 --- a/hledger/Hledger/Cli.hs +++ b/hledger/Hledger/Cli.hs @@ -313,7 +313,7 @@ main = withGhcDebug' $ do let finalargs = - [cmdarg | not $ null cmdarg] <> supportedgenargsfromconf <> confcmdargs <> cliargswithoutcmd + [cmdarg | not $ null cmdarg] <> supportedgenargsfromconf <> confcmdargs <> [clicmdarg | not $ null confcmdarg] <> cliargswithoutcmd & replaceNumericFlags -- convert any -NUM opts from the config file -- finalargs' <- expandArgsAt finalargs -- expand @ARGFILEs in the config file ? don't bother dbgIO1 "final args" finalargs