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
For a program that has at least one required argument, using a custom help - as the following - gives an error which shouldn't be taken into account when running the help command:
If you replace the default --help handler and have required arguments, you'll need to catch errors during parse_args and add a custom way to recover from the missing required argument.
Or don't require any arguments and check that a value was parsed and assigned to your formerly required arguments. Then you can handle the missing value with whatever feedback mechanism fits your UI.
For a program that has at least one
required
argument, using a custom help - as the following - gives an error which shouldn't be taken into account when running thehelp
command:The error is:
The text was updated successfully, but these errors were encountered: