mercurial/commands.py
branchstable
changeset 17322 7124f984dc8d
parent 17308 2e0805f59736
child 17343 e560ecb755fe
--- a/mercurial/commands.py	Wed Aug 01 00:18:23 2012 +0200
+++ b/mercurial/commands.py	Wed Aug 01 14:59:15 2012 +0200
@@ -3297,7 +3297,7 @@
             rst.append(_("\nadditional help topics:\n\n"))
             topics = []
             for names, header, doc in help.helptable:
-                topics.append((sorted(names, key=len, reverse=True)[0], header))
+                topics.append((names[0], header))
             for t, desc in topics:
                 rst.append(" :%s: %s\n" % (t, desc))