##// END OF EJS Templates
help: make listexts less confusing for deprecated exts...
timeless -
r27151:7625f638 default
parent child Browse files
Show More
@@ -27,11 +27,12 b' def listexts(header, exts, indent=1, sho'
27 27 '''return a text listing of the given extensions'''
28 28 rst = []
29 29 if exts:
30 rst.append('\n%s\n\n' % header)
31 30 for name, desc in sorted(exts.iteritems()):
32 31 if not showdeprecated and any(w in desc for w in _exclkeywords):
33 32 continue
34 33 rst.append('%s:%s: %s\n' % (' ' * indent, name, desc))
34 if rst:
35 rst.insert(0, '\n%s\n\n' % header)
35 36 return rst
36 37
37 38 def extshelp(ui):
General Comments 0
You need to be logged in to leave comments. Login now