6.21.3.5 Option attributes

The following option attributes may be passed as keyword arguments to parser.add_option(). If you pass an option attribute that is not relevant to a particular option, or fail to pass a required option attribute, optparse raises OptionError.

See About this document... for information on suggesting changes.