fix: args bug with CLI
This commit is contained in:
parent
d6d395619f
commit
f92afee9b4
1 changed files with 0 additions and 1 deletions
|
|
@ -126,7 +126,6 @@ def processArgs : CliM PUnit := do
|
|||
if (← getWantsHelp) then IO.println usage else
|
||||
throw <| IO.userError "expected command"
|
||||
| some cmd =>
|
||||
let args ← collectArgs
|
||||
if (← getWantsHelp) then IO.println (help cmd) else
|
||||
command cmd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue