Back to index

enigmail  1.4.3
Public Member Functions | Static Public Attributes
build.manifestparser.HelpCLI Class Reference
Inheritance diagram for build.manifestparser.HelpCLI:
Inheritance graph
Collaboration diagram for build.manifestparser.HelpCLI:
Collaboration graph

List of all members.

Public Member Functions

def __call__
def parser

Static Public Attributes

string usage = '%prog [options] help [command]'

Detailed Description

get help on a command

Definition at line 991 of file

Member Function Documentation

def build.manifestparser.HelpCLI.__call__ (   self,

Definition at line 997 of file

00998     def __call__(self, options, args):
00999         if len(args) == 1 and args[0] in commands:
01000             commands[args[0]](self._parser).parser().print_help()
01001         else:
01002             self._parser.print_help()
01003             print '\nCommands:'
01004             for command in sorted(commands):
01005                 print '  %s : %s' % (command, commands[command].__doc__.strip())

Here is the call graph for this function:

def build.manifestparser.CLICommand.parser (   self) [inherited]

Reimplemented in build.manifestparser.CreateCLI.

Definition at line 899 of file

00900     def parser(self):
00901       return OptionParser(usage=self.usage, description=self.__doc__,
00902                           add_help_option=False)

Here is the caller graph for this function:

Member Data Documentation

string build.manifestparser.HelpCLI.usage = '%prog [options] help [command]' [static]

Reimplemented from build.manifestparser.CLICommand.

Definition at line 995 of file

The documentation for this class was generated from the following file: