mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 21:17:54 +00:00
Address Kevan's comment in #776 about Options classes missed when adding 'self.command_name'. refs #776, #1359
This commit is contained in:
parent
9ba8a1b83e
commit
2da3f69f25
@ -220,7 +220,7 @@ class CpOptions(VDriveOptions):
|
||||
self.destination = argv_to_unicode(args[-1])
|
||||
|
||||
def getSynopsis(self):
|
||||
return "Usage: tahoe cp [options] FROM.. TO"
|
||||
return "Usage: %s cp [options] FROM.. TO" % (self.command_name,)
|
||||
|
||||
longdesc = """
|
||||
Use 'tahoe cp' to copy files between a local filesystem and a Tahoe grid.
|
||||
|
@ -12,7 +12,7 @@ class CreateKeyGeneratorOptions(BasedirMixin, BaseOptions):
|
||||
]
|
||||
|
||||
def getSynopsis(self):
|
||||
return "Usage: %s create-key-generator [options] NODEDIR" % (os.path.basename(sys.argv[0]),)
|
||||
return "Usage: %s create-key-generator [options] NODEDIR" % (self.command_name,)
|
||||
|
||||
|
||||
keygen_tac = """
|
||||
|
@ -12,7 +12,7 @@ class CreateStatsGathererOptions(BasedirMixin, BaseOptions):
|
||||
]
|
||||
|
||||
def getSynopsis(self):
|
||||
return "Usage: %s create-stats-gatherer [options] NODEDIR" % (os.path.basename(sys.argv[0]),)
|
||||
return "Usage: %s create-stats-gatherer [options] NODEDIR" % (self.command_name,)
|
||||
|
||||
|
||||
stats_gatherer_tac = """
|
||||
|
Loading…
Reference in New Issue
Block a user