mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-26 06:09:21 +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.alias = alias
|
||||||
self.cap = cap
|
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):
|
class CreateAliasOptions(VDriveOptions):
|
||||||
def parseArgs(self, alias):
|
def parseArgs(self, alias):
|
||||||
self.alias = 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):
|
class ListAliasOptions(VDriveOptions):
|
||||||
pass
|
longdesc = """Displays a table of all configured aliases."""
|
||||||
|
|
||||||
class ListOptions(VDriveOptions):
|
class ListOptions(VDriveOptions):
|
||||||
optFlags = [
|
optFlags = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user