OptionParserOption-class {optparse} | R Documentation |
A class that defines how optparse
should react to a given option it finds on the command line.
short_flag
:long_flag
:action
:optparse
should take when it encounters an option,
either “store”, “store_true”, or “store_false”. type
:dest
:optparse
will store option values. default
:optparse
should use if it does not find the option on the command line. help
:metavar
:Trevor Davis.
The documentation for Python's optparse library, which this package is based on, is Copyright 1990-2009, Python Software Foundation.
OptionParser
relies on this class,
use make_option
and add_option
to create an instance of this class.
showClass("OptionParserOption")