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
This seems to be some argparse feature? It automatically created short versions for all the flags, as long as it's a substring, --a -> apply, --u -> uninstall, etc.
The parse_args() method by default allows long options to be abbreviated to a prefix, if the abbreviation is unambiguous (the prefix matches a unique option):
I'm a bit dubious of this and not requiring people to be strict/explicit, but also if it's the default and I haven't run into it until now, maybe it's OK?
Description
A typo in
sdw-admin
flags wasn't caughtSteps to Reproduce
sdw-admin --appl
, note that I missed they
.Expected Behavior
An error that
--appl
isn't a valid optionActual Behavior
Provisioning begins...
Comments
I'm not immediately sure why this is happening, I assume there's some logic bug in our argparse handling.
The text was updated successfully, but these errors were encountered: