Part of twisted.application.app View Source View In Hierarchy
Known subclasses: twisted.scripts._twistd_unix.ServerOptions, twisted.scripts._twistw.ServerOptions
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 617 | Method | __init__ | Undocumented |
| 621 | Method | opt_debug | run the application in the Python Debugger (implies nodaemon), |
| 632 | Method | opt_spew | Print an insanely verbose log of everything that happens. |
| 643 | Method | opt_report_profile | DEPRECATED. |
| 653 | Method | parseOptions | The guts of the command-line parser. |
| 658 | Method | postOptions | I am called after the options are parsed. |
| 662 | Method | subCommands | Undocumented |
Inherited from Options:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 168 | Method | __hash__ | Define a custom hash function so that Options instances can be used |
| 176 | Method | opt_help | Display this help and exit. |
| 183 | Method | opt_version | Undocumented |
| 252 | Method | parseArgs | I am called with any leftover arguments which were not options. |
| 412 | Method | __str__ | Undocumented |
| 415 | Method | getSynopsis | Returns a string containing a description of these options and how to |
| 438 | Method | getUsage | Undocumented |
| 267 | Method | _generic_flag | Undocumented |
| 274 | Method | _gather_flags | Gather up boolean (flag) options. |
| 301 | Method | _gather_parameters | Gather options which take a value. |
| 342 | Method | _gather_handlers | Gather up options with their own handler methods. |
Inherited from ReactorSelectionMixin:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 534 | Method | opt_help_reactors | Display a list of possibly available reactor names. |
| 544 | Method | opt_reactor | Which reactor to use (see --help-reactors for a list of possibilities) |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 168 | Method | __hash__ | Define a custom hash function so that Options instances can be used |
| 617 | Method | __init__ | Undocumented |
| 412 | Method | __str__ | Undocumented |
| 415 | Method | getSynopsis | Returns a string containing a description of these options and how to |
| 438 | Method | getUsage | Undocumented |
| 621 | Method | opt_debug | run the application in the Python Debugger (implies nodaemon), |
| 176 | Method | opt_help | Display this help and exit. |
| 534 | Method | opt_help_reactors | Display a list of possibly available reactor names. |
| 544 | Method | opt_reactor | Which reactor to use (see --help-reactors for a list of possibilities) |
| 643 | Method | opt_report_profile | DEPRECATED. |
| 632 | Method | opt_spew | Print an insanely verbose log of everything that happens. |
| 183 | Method | opt_version | Undocumented |
| 252 | Method | parseArgs | I am called with any leftover arguments which were not options. |
| 653 | Method | parseOptions | The guts of the command-line parser. |
| 658 | Method | postOptions | I am called after the options are parsed. |
| 662 | Method | subCommands | Undocumented |
| 274 | Method | _gather_flags | Gather up boolean (flag) options. |
| 342 | Method | _gather_handlers | Gather up options with their own handler methods. |
| 301 | Method | _gather_parameters | Gather options which take a value. |
| 267 | Method | _generic_flag | Undocumented |
DEPRECATED.
Manage --report-profile option, which does nothing currently.I am called after the options are parsed.
Override this method in your subclass to do something after the options have been parsed and assigned, like validate that all options are sane.