Closed JacobEvelyn closed 3 years ago
There's always a way :)
I'm surprised though, because an unknown command error should exit 1.
There's code to put an unknown command back into the args in case the user is trying to use a default command—maybe that's where it's going wrong?
Closing as old. Please reopen with a repo example if you are still experiencing this
Using the
help
command with a bad argument, e.g.friends help garbage
gives me this GLI error:But despite this being an error state, the status code returned is 0. Is there a way to make this nonzero?