class documentation
class BadOptionUsage(UsageError): (source)
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. .. versionadded:: 4.0 :param option_name: the name of the option being used incorrectly.
Method | __init__ |
Undocumented |
Instance Variable | option |
Undocumented |
Inherited from UsageError
:
Method | show |
Undocumented |
Class Variable | exit |
Undocumented |
Instance Variable | cmd |
Undocumented |
Instance Variable | ctx |
Undocumented |
Inherited from ClickException
(via UsageError
):
Method | __str__ |
Undocumented |
Method | format |
Undocumented |
Instance Variable | message |
Undocumented |
overrides
click.exceptions.UsageError.__init__
Undocumented
Parameters | |
optionstr | Undocumented |
message:str | Undocumented |
ctx:t.Optional[ | Undocumented |