diff -r bb4561401c84 -r 6ded6243bde2 mercurial/commands.py --- a/mercurial/commands.py Mon Mar 01 22:47:39 2010 +0100 +++ b/mercurial/commands.py Mon Mar 01 23:27:44 2010 +0900 @@ -1544,6 +1544,8 @@ doc = gettext(entry[0].__doc__) if not doc: doc = _("(no help text available)") + if hasattr(entry[0], 'definition'): # aliased command + doc = _('alias for: hg %s\n\n%s') % (entry[0].definition, doc) if ui.quiet: doc = doc.splitlines()[0] keep = ui.verbose and ['verbose'] or []