mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-28 12:54:07 +03:00
fix:cli: don't ignore first cli arg when there's a conf command arg
This commit is contained in:
parent
b04a0e4e79
commit
c6bc020609
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user