optparse (version 1.7.5)

print_help: 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)

Value

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

Arguments

object

A OptionParser instance.

Author

Trevor Davis.

References

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

See Also

{parse_args} {OptionParser}