From: Brian Warner Date: Tue, 26 May 2015 15:11:44 +0000 (-0700) Subject: scripts/runner.py: put command group descriptions in parens X-Git-Tag: allmydata-tahoe-1.10.1b1~14^2~3 X-Git-Url: https://git.rkrishnan.org/pf/content/install-details.html?a=commitdiff_plain;h=5d5fa05a4227ba5429e5e417af17b2447d2c043e;p=tahoe-lafs%2Ftahoe-lafs.git scripts/runner.py: put command group descriptions in parens --- diff --git a/src/allmydata/scripts/runner.py b/src/allmydata/scripts/runner.py index 1a6de258..f295a980 100644 --- a/src/allmydata/scripts/runner.py +++ b/src/allmydata/scripts/runner.py @@ -12,7 +12,7 @@ def GROUP(s): # Usage.parseOptions compares argv[1] against command[0], so it will # effectively ignore any "subcommand" that starts with a newline. We use # these to insert section headers into the --help output. - return [("\n" + s, None, None, None)] + return [("\n(%s)" % s, None, None, None)] _default_nodedir = get_default_nodedir()