Skip to contentSkip to conversation

Documentation: change generated help lines

PATCH Applied Holger Schurig 1 participant 1 message Jul 22, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 Documentation: change generated help lines

From: Holger Schurig <[email protected]>

Someone

loadx (load binary file over serial line (X-Modem))

looked more silly than

loadx - load binary file over serial line (X-Modem)

---
 Documentation/gen_commands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/gen_commands.py +1 -1
index eadea9e..b85e2e3 100755
@@ -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]))
Signature · 7 lines
1.8.5.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox