class documentation

class BadOptionUsage(UsageError): (source)

View In Hierarchy

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_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
def __init__(self, option_name, message, ctx=None): (source)

Undocumented

Parameters
option_name:strUndocumented
message:strUndocumented
ctx:t.Optional[Context]Undocumented
option_name = (source)

Undocumented