Class t.c.s.t.GeneralOptions(usage.Options):

Part of twisted.conch.scripts.tkconch View Source View In Hierarchy

Undocumented

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
220 Method opt_identity Undocumented
223 Method opt_localforward Undocumented
229 Method opt_remoteforward Undocumented
235 Method opt_compress Undocumented
238 Method parseArgs I am called with any leftover arguments which were not options.

Inherited from Options:

Line # Kind Name Docs
136 Method __init__ Undocumented
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
190 Method parseOptions The guts of the command-line parser.
243 Method postOptions I am called after the options are parsed.
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.
Line # Kind Name Docs
168 Method __hash__ Define a custom hash function so that Options instances can be used
136 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
235 Method opt_compress Undocumented
176 Method opt_help Display this help and exit.
220 Method opt_identity Undocumented
223 Method opt_localforward Undocumented
229 Method opt_remoteforward Undocumented
183 Method opt_version Undocumented
238 Method parseArgs I am called with any leftover arguments which were not options.
190 Method parseOptions The guts of the command-line parser.
243 Method postOptions I am called after the options are parsed.
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
def opt_identity(self, i): (source)
Undocumented
def opt_localforward(self, f): (source)
Undocumented
def opt_remoteforward(self, f): (source)
Undocumented
def opt_compress(self): (source)
Undocumented
def parseArgs(self, *args): (source)

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!
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.