Show More
@@ -29,7 +29,7 b' def listexts(header, exts, indent=1, sho' | |||
|
29 | 29 | if exts: |
|
30 | 30 | rst.append('\n%s\n\n' % header) |
|
31 | 31 | for name, desc in sorted(exts.iteritems()): |
|
32 | if '(DEPRECATED)' in desc and not showdeprecated: | |
|
32 | if not showdeprecated and any(w in desc for w in _exclkeywords): | |
|
33 | 33 | continue |
|
34 | 34 | rst.append('%s:%s: %s\n' % (' ' * indent, name, desc)) |
|
35 | 35 | return rst |
@@ -341,7 +341,7 b' def help_(ui, name, unknowncmd=False, fu' | |||
|
341 | 341 | if not ui.debugflag and f.startswith("debug") and name != "debug": |
|
342 | 342 | continue |
|
343 | 343 | doc = e[0].__doc__ |
|
344 | if doc and '(DEPRECATED)' in doc and not ui.verbose: | |
|
344 | if not ui.verbose and doc and any(w in doc for w in _exclkeywords): | |
|
345 | 345 | continue |
|
346 | 346 | doc = gettext(doc) |
|
347 | 347 | if not doc: |
General Comments 0
You need to be logged in to leave comments.
Login now