mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
Add missing synopsis and descriptions for alias commands.
This commit is contained in:
parent
4ab3397992
commit
ffab4002aa
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user