class BadOptionUsage(UsageError):
Raised if an option is generally supplied but the use of the option was incorrect. This is for instance raised if the number of arguments for an option is not correct.
Parameters | |
option_name | the name of the option being used incorrectly. |
Method | __init__ |
Undocumented |
Instance Variable | option_name |
Undocumented |
Inherited from UsageError
:
Method | show |
Undocumented |
Class Variable | exit_code |
Undocumented |
Instance Variable | cmd |
Undocumented |
Instance Variable | ctx |
Undocumented |
Inherited from ClickException
(via UsageError
):
Method | __str__ |
Undocumented |
Method | format_message |
Undocumented |
Instance Variable | message |
Undocumented |
click.exceptions.UsageError.__init__
Undocumented
Parameters | |
option_name:str | Undocumented |
message:str | Undocumented |
ctx:t.Optional[ | Undocumented |