Commit e1b72782 by Stefhen Hovland

Only display equals sign in summary for required options.

parent 30cabddf
......@@ -149,7 +149,12 @@ def get_snippet_text(doc):
for o in sorted(doc['options'].keys()):
opt = doc['options'][o]
desc = tty_ify("".join(opt['description']))
s = o + "="
if opt.get('required', False):
s = o + "="
else:
s = o
text.append(" %-20s # %s" % (s, desc))
text.append('')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment