doc/gendoc.py
changeset 40291 170926caf44c
parent 32336 ff874d34c856
child 40294 fabbf9310025
--- a/doc/gendoc.py	Sun Oct 14 13:35:47 2018 +0200
+++ b/doc/gendoc.py	Sat Oct 13 05:03:50 2018 -0700
@@ -149,7 +149,8 @@
     helpprinter(ui, helptable + extrahelptable, None, include=[topic])
 
 def helpprinter(ui, helptable, sectionfunc, include=[], exclude=[]):
-    for names, sec, doc in helptable:
+    for h in helptable:
+        names, sec, doc = h[0:3]
         if exclude and names[0] in exclude:
             continue
         if include and names[0] not in include: