tornado/docs/options.rst

29 lines
616 B
ReStructuredText
Raw Normal View History

2011-06-11 21:48:46 +00:00
``tornado.options`` --- Command-line parsing
============================================
.. automodule:: tornado.options
2012-09-30 23:06:21 +00:00
Global functions
----------------
.. autofunction:: define
.. py:data:: options
2012-09-30 23:06:21 +00:00
Global options object. All defined options are available as attributes
on this object.
.. autofunction:: parse_command_line
.. autofunction:: parse_config_file
2012-09-30 23:06:21 +00:00
.. autofunction:: print_help(file=sys.stderr)
.. autofunction:: add_parse_callback
.. autoexception:: Error
2012-09-30 23:06:21 +00:00
OptionParser class
------------------
.. autoclass:: OptionParser
:members: