print.arg.parser: Print the help message for an arg.parser.
Description
This function prints the help message.
Usage
# S3 method for arg.parser
print(x, ...)
Arguments
- x
an arg.parser
object
- ...
unused arguments
Details
At the command line, we would use the --help
or -help
flag
to print the help message:
$ script --help