class_docstr: 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.
class_docstr_tok: ["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","."]
code: def __init__(self, option_name, message, ctx=None):
      UsageError.__init__(self, message, ctx)
      self.option_name = option_name
  
imports: from ._compat import filename_to_ui
  from ._compat import get_text_stderr
  from ._compat import PY2
  from .utils import echo
label_desc: Use image node_id 1 to create a new BadOptionUsage object from inherited base classes: UsageError with example: obj = BadOptionUsage(option_name, message, ctx)