At least one positional argument is required to properly raise an error for unknown optional arguments. · Issue #13 · p-ranav/structopt · GitHub
More Web Proxy on the site http://driver.im/
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
If you only have optional arguments in the structure no error will be produced when unknown optional or positional arguments are provided.
Executing
./a.out --bad
or./a.out bad
will not raise an exception. If you add a positional argument, you will get the expected result.The text was updated successfully, but these errors were encountered: