GetoptLong.options: Global options for GetoptLong()
Description
Global options for GetoptLong()
Usage
GetoptLong.options(..., RESET = FALSE, READ.ONLY = NULL, LOCAL = FALSE, ADD = FALSE)
Arguments
...
Options, see 'Details' section.
RESET
Whether to reset options to their default values.
READ.ONLY
Whether to only return read-only options.
LOCAL
Whether to switch local mode.
ADD
Whether to add new options.
Details
Supported global options are following:
config
Configuration of Getopt::Long
, check https://perldoc.pl/Getopt::Long#Configuring-Getopt::Long .
template_tag
The tag for identifying specifications in the template. The format should be in left_tag CODE right_tag
.
help_style
The style of the help message.
GetoptLong.options(...)
should be put before calling GetoptLong
function.
Examples
Run this code# NOT RUN {
# There is no example
NULL
# }
Run the code above in your browser using DataLab