From: david-sarah Date: Sun, 23 Jan 2011 01:50:04 +0000 (-0800) Subject: CLI: improve help synopsis for 'tahoe create-key-generator'. X-Git-Tag: allmydata-tahoe-1.8.2b1~5 X-Git-Url: https://git.rkrishnan.org/zeppelin?a=commitdiff_plain;h=74b6ea36c44ab3ed26ab61a3dc3f7840509b8077;p=tahoe-lafs%2Ftahoe-lafs.git CLI: improve help synopsis for 'tahoe create-key-generator'. --- diff --git a/src/allmydata/scripts/keygen.py b/src/allmydata/scripts/keygen.py index f2f78097..cd8e1ce2 100644 --- a/src/allmydata/scripts/keygen.py +++ b/src/allmydata/scripts/keygen.py @@ -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 -*-