author | Thomas Arendsen Hein <thomas@intevation.de> |
Thu, 10 Nov 2005 16:16:28 +0100 | |
changeset 1536 | b4ed825282fe |
parent 1525 | c85e5bbfd141 |
child 1537 | 583b3696d24d |
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2640,6 +2640,9 @@ def dispatch(args): u.debug(inst, "\n") u.warn(_("%s: invalid arguments\n") % cmd) help_(u, cmd) + except AmbiguousCommand, inst: + u.warn(_("hg: command '%s' is ambiguous.\n") % inst.args[0]) + help_(u, 'shortlist') except UnknownCommand, inst: u.warn(_("hg: unknown command '%s'\n") % inst.args[0]) help_(u, 'shortlist')