summaryrefslogtreecommitdiffstats
path: root/Documentation/gen_commands.py
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-07-22 09:56:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-22 21:16:06 +0200
commit2f0f5522a8c21e8ded9eefae2691e174d713f6b4 (patch)
treef88e6c5a0c37d4a4dde12bf805b06adc564f8e69 /Documentation/gen_commands.py
parent46e8bf74874809846c366ca6bfc542076e17770d (diff)
downloadbarebox-2f0f5522a8c21e8ded9eefae2691e174d713f6b4.tar.gz
barebox-2f0f5522a8c21e8ded9eefae2691e174d713f6b4.tar.xz
Documentation: change generated help lines
Someone loadx (load binary file over serial line (X-Modem)) looked more silly than loadx - load binary file over serial line (X-Modem) Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/gen_commands.py')
-rwxr-xr-xDocumentation/gen_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gen_commands.py b/Documentation/gen_commands.py
index eadea9e18..b85e2e3ea 100755
--- a/Documentation/gen_commands.py
+++ b/Documentation/gen_commands.py
@@ -103,7 +103,7 @@ def gen_rst(name, cmd):
out.append('.. _command_%s:' % name)
out.append('')
if 'c_desc' in cmd:
- out.append("%s (%s)" % (name, ''.join(cmd['c_desc']).strip()))
+ out.append("%s - %s" % (name, ''.join(cmd['c_desc']).strip()))
else:
out.append("%s" % (name,))
out.append('='*len(out[-1]))