You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throw during parsing for missing mandatory args (#947)
Fixes#872Closes#888
The exception for missing mandatory arguments was moved from parse time
to the time when the options are read in order to work around an issue
where trying to run the `help` command would still raise the warning
about missing mandatory arguments. Remove the errors attempting to read
the fields and restore the checking at parse time. Use the presence of
the `help` key or command as a signal to skip validation.
Update the tests to expect the exception during parse time. Add a test
that the default `help` command still prints exactly the intended usage.
0 commit comments