equal
deleted
inserted
replaced
402 rst = [minirst.section(header)] |
402 rst = [minirst.section(header)] |
403 |
403 |
404 # description |
404 # description |
405 if not doc: |
405 if not doc: |
406 rst.append(" %s\n" % _("(no help text available)")) |
406 rst.append(" %s\n" % _("(no help text available)")) |
407 if util.safehasattr(doc, '__call__'): |
407 if callable(doc): |
408 rst += [" %s\n" % l for l in doc().splitlines()] |
408 rst += [" %s\n" % l for l in doc().splitlines()] |
409 |
409 |
410 if not ui.verbose: |
410 if not ui.verbose: |
411 omitted = (_('use "hg help -v %s" to show more complete help') % |
411 omitted = (_('use "hg help -v %s" to show more complete help') % |
412 name) |
412 name) |