]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fix 'tahoe admin' synopses.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 4 Aug 2015 18:52:11 +0000 (19:52 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 4 Aug 2015 19:24:03 +0000 (20:24 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/scripts/admin.py

index 3e664f8ccf33baa4ef92be169247fcaa75505fdc..1edadd28c37c19c8bf22deb84e195d3a8179afb3 100644 (file)
@@ -6,6 +6,8 @@ from allmydata.util.encodingutil import quote_output
 from allmydata.scripts.common import BaseOptions, BasedirOptions
 
 class GenerateKeypairOptions(BaseOptions):
+    def getSynopsis(self):
+        return "Usage: tahoe [global-options] admin generate-keypair"
 
     def getUsage(self, width=None):
         t = BaseOptions.getUsage(self, width)
@@ -102,7 +104,7 @@ def do_create_container(options):
 
 class ListContainerOptions(BasedirOptions):
     def getSynopsis(self):
-        return "Usage: %s [global-opts] admin ls-container [NODEDIR]" % (self.command_name,)
+        return "Usage: %s [global-options] admin ls-container [NODEDIR]" % (self.command_name,)
 
     def getUsage(self, width=None):
         t = BasedirOptions.getUsage(self, width)