[PATCH 4/5] Documentation: change generated help lines

Holger Schurig holgerschurig at gmail.com
Tue Jul 22 00:56:48 PDT 2014


From: Holger Schurig <holgerschurig at gmail.com>

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 at gmail.com>
---
 Documentation/gen_commands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/gen_commands.py b/Documentation/gen_commands.py
index eadea9e..b85e2e3 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]))
-- 
1.8.5.2




More information about the barebox mailing list