Mercurial > public > mercurial-scm > hg-stable
diff mercurial/help.py @ 22118:9a299c39de01
help: normalize helplist hints
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 12 Aug 2014 04:11:32 -0500 |
parents | c1d93edcf004 |
children | 645457f73aa6 |
line wrap: on
line diff
--- a/mercurial/help.py Tue Aug 12 04:00:42 2014 -0500 +++ b/mercurial/help.py Tue Aug 12 04:11:32 2014 -0500 @@ -369,18 +369,19 @@ rst.append('\n%s\n' % optrst(_("global options"), commands.globalopts, ui.verbose)) if name == 'shortlist': - rst.append(_('\nuse "hg help" for the full list ' - 'of commands\n')) + rst.append(_('\n(use "hg help" for the full list ' + 'of commands)\n')) else: if name == 'shortlist': - rst.append(_('\nuse "hg help" for the full list of commands ' - 'or "hg -v" for details\n')) + rst.append(_('\n(use "hg help" for the full list of commands ' + 'or "hg -v" for details)\n')) elif name and not full: - rst.append(_('\nuse "hg help %s" to show the full help ' - 'text\n') % name) + rst.append(_('\n(use "hg help %s" to show the full help ' + 'text)\n') % name) else: - rst.append(_('\nuse "hg -v help%s" to show builtin aliases and ' - 'global options\n') % (name and " " + name or "")) + rst.append(_('\n(use "hg help -v%s" to show built-in aliases ' + 'and global options)\n') + % (name and " " + name or "")) return rst def helptopic(name):