mercurial/commands.py
changeset 479 7293cb91bf2a
parent 477 520540fd6b64
child 480 430a10669928
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -172,13 +172,10 @@ def help(ui, cmd=None):
         ui.write('hg commands:\n\n')
 
         h = {}
-        for c,e in table.items():
-            f = c
-            aliases = None
-            if "|" in f:
-                l = f.split("|")
-                f, aliases = l[0], l[1:]
-            if f.startswith("debug"): continue
+        for c, e in table.items():
+            f = c.split("|")[0]
+            if f.startswith("debug"):
+                continue
             d = ""
             if e[0].__doc__:
                 d = e[0].__doc__.splitlines(0)[0].rstrip()