##// 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 '''return a text listing of the given extensions'''
27 '''return a text listing of the given extensions'''
28 rst = []
28 rst = []
29 if exts:
29 if exts:
30 rst.append('\n%s\n\n' % header)
31 for name, desc in sorted(exts.iteritems()):
30 for name, desc in sorted(exts.iteritems()):
32 if not showdeprecated and any(w in desc for w in _exclkeywords):
31 if not showdeprecated and any(w in desc for w in _exclkeywords):
33 continue
32 continue
34 rst.append('%s:%s: %s\n' % (' ' * indent, name, desc))
33 rst.append('%s:%s: %s\n' % (' ' * indent, name, desc))
34 if rst:
35 rst.insert(0, '\n%s\n\n' % header)
35 return rst
36 return rst
36
37
37 def extshelp(ui):
38 def extshelp(ui):
General Comments 0
You need to be logged in to leave comments. Login now