Part of nevow.scripts.xmlgettext View Source View In Hierarchy
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 76 | Method | opt_version | Undocumented |
| 80 | Method | parseArgs | I am called with any leftover arguments which were not options. |
Inherited from Options:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 99 | Method | __init__ | Undocumented |
| 131 | Method | __hash__ | Define a custom hash function so that Options instances can be used |
| 139 | Method | opt_help | Display this help and exit. |
| 151 | Method | parseOptions | The guts of the command-line parser. |
| 201 | Method | postOptions | I am called after the options are parsed. |
| 372 | Method | __str__ | Undocumented |
| 375 | Method | getSynopsis | Returns a string containing a description of these options and how to |
| 396 | Method | getUsage | Undocumented |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 131 | Method | __hash__ | Define a custom hash function so that Options instances can be used |
| 99 | Method | __init__ | Undocumented |
| 372 | Method | __str__ | Undocumented |
| 375 | Method | getSynopsis | Returns a string containing a description of these options and how to |
| 396 | Method | getUsage | Undocumented |
| 139 | Method | opt_help | Display this help and exit. |
| 76 | Method | opt_version | Undocumented |
| 80 | Method | parseArgs | I am called with any leftover arguments which were not options. |
| 151 | Method | parseOptions | The guts of the command-line parser. |
| 201 | Method | postOptions | I am called after the options are parsed. |
I am called with any leftover arguments which were not options.
Override me to do something with the remaining arguments on the command line, those which were not flags or options. e.g. interpret them as a list of files to operate on.
Note that if there more arguments on the command line than this method accepts, parseArgs will blow up with a getopt.error. This means if you don't override me, parseArgs will blow up if I am passed any arguments at all!