getlflag: extract the largest flag

Description Usage Arguments Value See Also

Description

This method can be used to extract the largst flag within a single argument or all of the largest flag within a parser. This interface is primarily thought to be useful for testing and debugging purposes.

Usage

1

Arguments

x

the object to extract values from (usually cmd_arg or cmd_parser)

...

further parameters passed to the specific method

Value

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.

See Also

Other parsers: getflags(), getsflag()


Bijaelo/cmdline.arguments documentation built on June 12, 2021, 1:42 p.m.