From 74b6ea36c44ab3ed26ab61a3dc3f7840509b8077 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Sat, 22 Jan 2011 17:50:04 -0800 Subject: [PATCH] CLI: improve help synopsis for 'tahoe create-key-generator'. --- src/allmydata/scripts/keygen.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -*- -- 2.45.2