equal
deleted
inserted
replaced
170 show_version(ui) |
170 show_version(ui) |
171 ui.write('\n') |
171 ui.write('\n') |
172 ui.write('hg commands:\n\n') |
172 ui.write('hg commands:\n\n') |
173 |
173 |
174 h = {} |
174 h = {} |
175 for c,e in table.items(): |
175 for c, e in table.items(): |
176 f = c |
176 f = c.split("|")[0] |
177 aliases = None |
177 if f.startswith("debug"): |
178 if "|" in f: |
178 continue |
179 l = f.split("|") |
|
180 f, aliases = l[0], l[1:] |
|
181 if f.startswith("debug"): continue |
|
182 d = "" |
179 d = "" |
183 if e[0].__doc__: |
180 if e[0].__doc__: |
184 d = e[0].__doc__.splitlines(0)[0].rstrip() |
181 d = e[0].__doc__.splitlines(0)[0].rstrip() |
185 h[f] = d |
182 h[f] = d |
186 |
183 |