print_help: Printing an usage message from an OptionParser object

Description Usage Arguments Value Author(s) References See Also

View source: R/optparse.R

Description

print_help print an usage message from an OptionParser object, usually called by parse_args when it encounters a help option.

Usage

1
  print_help(object)

Arguments

object

A OptionParser instance.

Value

print_help uses the cat function to print out a usage message. It returns invisible(NULL).

Author(s)

Trevor Davis.

References

Python's optparse library, which inspired this package, is described here: http://docs.python.org/library/optparse.html

See Also

{parse_args} {OptionParser}


optparse documentation built on May 21, 2017, 3:54 a.m.

Search within the optparse package
Search all R packages, documentation and source code