OptionParser-class {optparse} | R Documentation |
Option Parser
Description
Option Parser
Slots
usage
The program usage message that will printed out if
parse_args
finds a help option,%prog
is substituted with the value of theprog
argument.options
A list of of
OptionParserOption
instances that will define howparse_args
reacts to command line options.OptionParserOption
instances are usually created bymake_option
and can also be added to an existingOptionParser
instance via theadd_option
function.description
Additional text for
print_help
to print out between usage statement and options statementepilogue
Additional text for
print_help
to print out after the options statementformatter
A function that
print_help
will use to print out after the options statement. Default isIndentedHelpFormatter()
. This package also provides the builtin formatterTitledHelpFormatter()
.
Author(s)
Trevor Davis.