equal
deleted
inserted
replaced
77 |
77 |
78 def checkhghelps(ui): |
78 def checkhghelps(ui): |
79 errorcnt = 0 |
79 errorcnt = 0 |
80 for names, sec, doc in helptable: |
80 for names, sec, doc in helptable: |
81 if callable(doc): |
81 if callable(doc): |
82 doc = doc() |
82 doc = doc(ui) |
83 errorcnt += checkseclevel(ui, doc, |
83 errorcnt += checkseclevel(ui, doc, |
84 '%s help topic' % names[0], |
84 '%s help topic' % names[0], |
85 initlevel_topic) |
85 initlevel_topic) |
86 |
86 |
87 errorcnt += checkcmdtable(ui, table, '%s command', initlevel_cmd) |
87 errorcnt += checkcmdtable(ui, table, '%s command', initlevel_cmd) |