Description Usage Arguments Value Methods (by class) See Also
This method can be used to extract the smallest flag within a single argument or all of the smallest flag within a parser. This interface is primarily thought to be useful for testing and debugging purposes.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
the object to extract values from (usually cmd_arg or cmd_parser) |
... |
further parameters passed to the specific method |
If x is a single argument, a character vector of argument names if x is a cmd_parser, a list is returned with plausible entries "flags", "positional" and "named" for flag, positional and named arguments respectively.
cmd_arg
: method for class "cmd_arg"
cmd_parser
: method for class "cmd_parser"
cmd_arg
: method for class "cmd_arg"
cmd_parser
: method for class "cmd_parser"
Other parsers:
getflags()
,
getlflag()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.