| OptionParser-class {optparse} | R Documentation |
Option Parser
Description
Option Parser
Slots
usageThe program usage message that will printed out if
parse_argsfinds a help option,%progis substituted with the value of theprogargument.optionsA list of of
OptionParserOptioninstances that will define howparse_argsreacts to command line options.OptionParserOptioninstances are usually created bymake_optionand can also be added to an existingOptionParserinstance via theadd_optionfunction.descriptionAdditional text for
print_helpto print out between usage statement and options statementepilogueAdditional text for
print_helpto print out after the options statementformatterA function that
print_helpwill use to print out after the options statement. Default isIndentedHelpFormatter(). This package also provides the builtin formatterTitledHelpFormatter().
Author(s)
Trevor Davis.