##// END OF EJS Templates
commands: support verbose help
Martin Geisler -
r10445:8b451029 default
parent child Browse files
Show More
@@ -1527,7 +1527,11 b' def help_(ui, name=None, with_version=Fa'
1527 doc = _("(no help text available)")
1527 doc = _("(no help text available)")
1528 if ui.quiet:
1528 if ui.quiet:
1529 doc = doc.splitlines()[0]
1529 doc = doc.splitlines()[0]
1530 ui.write("\n%s\n" % minirst.format(doc, textwidth))
1530 keep = ui.verbose and ['verbose'] or []
1531 formatted, pruned = minirst.format(doc, textwidth, keep=keep)
1532 ui.write("\n%s\n" % formatted)
1533 if pruned:
1534 ui.write(_('\nuse "hg -v help %s" to show verbose help\n') % name)
1531
1535
1532 if not ui.quiet:
1536 if not ui.quiet:
1533 # options
1537 # options
General Comments 0
You need to be logged in to leave comments. Login now