]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
scripts/runner.py: put command group descriptions in parens
authorBrian Warner <warner@lothar.com>
Tue, 26 May 2015 15:11:44 +0000 (08:11 -0700)
committerBrian Warner <warner@lothar.com>
Tue, 26 May 2015 18:27:57 +0000 (11:27 -0700)
src/allmydata/scripts/runner.py

index 1a6de258ed6e6826fa6d3aad012df1435991d5b7..f295a98021a8de0b70da40b94ccc49df6911ce6a 100644 (file)
@@ -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()