]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
CLI: improve help synopsis for 'tahoe create-key-generator'.
authordavid-sarah <david-sarah@jacaranda.org>
Sun, 23 Jan 2011 01:50:04 +0000 (17:50 -0800)
committerdavid-sarah <david-sarah@jacaranda.org>
Sun, 23 Jan 2011 01:50:04 +0000 (17:50 -0800)
src/allmydata/scripts/keygen.py

index f2f78097d54aacba62a8bea4de655658881485ba..cd8e1ce2298089e016d5d8dc138899ef4a4cdfff 100644 (file)
@@ -11,6 +11,10 @@ class CreateKeyGeneratorOptions(BasedirMixin, BaseOptions):
         ["node-directory", "d", None, "Specify which directory the key-generator should be created in. [no default]"],
     ]
 
+    def getSynopsis(self):
+        return "Usage:  %s create-key-generator [options] NODEDIR" % (os.path.basename(sys.argv[0]),)
+
+
 keygen_tac = """
 # -*- python -*-