print_help {optparse}R Documentation

Printing an usage message from an OptionParser object

Description

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

Usage

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.

The documentation for Python's optparse library, which this package is based on, is Copyright 1990-2009, Python Software Foundation.

References

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

See Also

OptionParser {parse_args} {OptionParser}


[Package optparse version 0.8 Index]