2011-06-11 21:48:46 +00:00
|
|
|
``tornado.options`` --- Command-line parsing
|
|
|
|
============================================
|
2011-06-09 06:58:58 +00:00
|
|
|
|
|
|
|
.. automodule:: tornado.options
|
2012-05-07 05:46:53 +00:00
|
|
|
|
2012-09-30 23:06:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
Global functions
|
|
|
|
----------------
|
|
|
|
|
2012-05-07 05:46:53 +00:00
|
|
|
.. 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.
|
2012-05-07 05:46:53 +00:00
|
|
|
|
|
|
|
.. 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
|
2012-05-07 05:46:53 +00:00
|
|
|
.. autoexception:: Error
|
2012-09-30 23:06:21 +00:00
|
|
|
|
|
|
|
OptionParser class
|
|
|
|
------------------
|
|
|
|
|
|
|
|
.. autoclass:: OptionParser
|
|
|
|
:members:
|