From 92cf92a8a0da2810dd5192251e139ef0526c1133 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 4 Aug 2015 19:52:11 +0100 Subject: [PATCH] Fix 'tahoe admin' synopses. Signed-off-by: Daira Hopwood --- src/allmydata/scripts/admin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/allmydata/scripts/admin.py b/src/allmydata/scripts/admin.py index 3e664f8c..1edadd28 100644 --- a/src/allmydata/scripts/admin.py +++ b/src/allmydata/scripts/admin.py @@ -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) -- 2.45.2