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
|
let
|
||||||
finalargs =
|
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
|
& replaceNumericFlags -- convert any -NUM opts from the config file
|
||||||
-- finalargs' <- expandArgsAt finalargs -- expand @ARGFILEs in the config file ? don't bother
|
-- finalargs' <- expandArgsAt finalargs -- expand @ARGFILEs in the config file ? don't bother
|
||||||
dbgIO1 "final args" finalargs
|
dbgIO1 "final args" finalargs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user