Add missing synopsis and descriptions for alias commands.

This commit is contained in:
Alberto Berti 2009-02-20 18:31:06 -07:00
parent 4ab3397992
commit ffab4002aa

View File

@ -58,12 +58,22 @@ class AddAliasOptions(VDriveOptions):
self.alias = alias
self.cap = cap
def getSynopsis(self):
return "%s add-alias ALIAS DIRCAP" % (os.path.basename(sys.argv[0]),)
longdesc = """Add a new alias for an existing directory."""
class CreateAliasOptions(VDriveOptions):
def parseArgs(self, alias):
self.alias = alias
def getSynopsis(self):
return "%s create-alias ALIAS" % (os.path.basename(sys.argv[0]),)
longdesc = """Creates a new directory and adds an alias for it."""
class ListAliasOptions(VDriveOptions):
pass
longdesc = """Displays a table of all configured aliases."""
class ListOptions(VDriveOptions):
optFlags = [