From: Daira Hopwood Date: Tue, 4 Aug 2015 18:52:11 +0000 (+0100) Subject: Fix 'tahoe admin' synopses. X-Git-Url: https://git.rkrishnan.org/simplejson/components//%22%22.?a=commitdiff_plain;h=92cf92a8a0da2810dd5192251e139ef0526c1133;p=tahoe-lafs%2Ftahoe-lafs.git Fix 'tahoe admin' synopses. Signed-off-by: Daira Hopwood --- 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)