Mercurial > hg
diff mercurial/commands.py @ 15202:0150741caace
help: unify the two -v notes for command help
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 07 Oct 2011 16:36:54 -0500 |
parents | 797bf1dc1ff8 |
children | c7ce651a6bc9 |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Oct 05 09:20:38 2011 +0300 +++ b/mercurial/commands.py Fri Oct 07 16:36:54 2011 -0500 @@ -2807,7 +2807,7 @@ msg = _('use "hg -v help%s" to show builtin aliases and ' 'global options') % (name and " " + name or "") else: - msg = _('use "hg -v help %s" to show global options') % name + msg = _('use "hg -v help %s" to show more info') % name optlist.append((msg, ())) def helpcmd(name): @@ -2855,8 +2855,6 @@ keep = ui.verbose and ['verbose'] or [] formatted, pruned = minirst.format(doc, textwidth, keep=keep) ui.write("\n%s" % formatted) - if pruned: - ui.write(_('\nuse "hg -v help %s" to show verbose help\n') % name) if not ui.quiet: # options