IndentedHelpFormatter | R Documentation |
IndentedHelpFormatter()
is the default help text formatter.
TitledHelpFormatter()
is an alternative help text formatter.
IndentedHelpFormatter(object) TitledHelpFormatter(object)
object |
An |
NULL
invisibly. As a side effect prints out help text.
parser <- OptionParser(formatter = IndentedHelpFormatter) parser <- add_option(parser, "--generator", help = "Generator option") parser <- add_option(parser, "--count", help = "Count option") print_help(parser) parser <- OptionParser(formatter = TitledHelpFormatter) parser <- add_option(parser, "--generator", help = "Generator option") parser <- add_option(parser, "--count", help = "Count option") print_help(parser)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.