comparison mercurial/commands.py @ 13230:827a1cc127bf stable

commands: clarify which aliases "hg help -v" show (issue2572)
author Martin Geisler <mg@aragost.com>
date Wed, 05 Jan 2011 10:47:35 +0100
parents 1c1ca9d393f4
children 0935ff767285 a939f08fae9c
comparison
equal deleted inserted replaced
13227:5d1bb1174047 13230:827a1cc127bf
1879 else: 1879 else:
1880 if name == 'shortlist': 1880 if name == 'shortlist':
1881 msg = _('use "hg help" for the full list of commands ' 1881 msg = _('use "hg help" for the full list of commands '
1882 'or "hg -v" for details') 1882 'or "hg -v" for details')
1883 elif aliases: 1883 elif aliases:
1884 msg = _('use "hg -v help%s" to show aliases and ' 1884 msg = _('use "hg -v help%s" to show builtin aliases and '
1885 'global options') % (name and " " + name or "") 1885 'global options') % (name and " " + name or "")
1886 else: 1886 else:
1887 msg = _('use "hg -v help %s" to show global options') % name 1887 msg = _('use "hg -v help %s" to show global options') % name
1888 option_lists.append((msg, ())) 1888 option_lists.append((msg, ()))
1889 1889