##// END OF EJS Templates
Cleaned up command alias handling in help....
Thomas Arendsen Hein -
r479:7293cb91 default
parent child Browse files
Show More
@@ -172,13 +172,10 b' def help(ui, cmd=None):'
172 172 ui.write('hg commands:\n\n')
173 173
174 174 h = {}
175 for c,e in table.items():
176 f = c
177 aliases = None
178 if "|" in f:
179 l = f.split("|")
180 f, aliases = l[0], l[1:]
181 if f.startswith("debug"): continue
175 for c, e in table.items():
176 f = c.split("|")[0]
177 if f.startswith("debug"):
178 continue
182 179 d = ""
183 180 if e[0].__doc__:
184 181 d = e[0].__doc__.splitlines(0)[0].rstrip()
General Comments 0
You need to be logged in to leave comments. Login now