equal
deleted
inserted
replaced
191 |
191 |
192 def filtercmd(ui, cmd, kw, doc): |
192 def filtercmd(ui, cmd, kw, doc): |
193 if not ui.debugflag and cmd.startswith("debug") and kw != "debug": |
193 if not ui.debugflag and cmd.startswith("debug") and kw != "debug": |
194 return True |
194 return True |
195 if not ui.verbose and doc and any(w in doc for w in _exclkeywords): |
195 if not ui.verbose and doc and any(w in doc for w in _exclkeywords): |
|
196 return True |
|
197 if ui.configbool('help', 'hidden-command.%s' % cmd): |
196 return True |
198 return True |
197 return False |
199 return False |
198 |
200 |
199 def topicmatch(ui, commands, kw): |
201 def topicmatch(ui, commands, kw): |
200 """Return help topics matching kw. |
202 """Return help topics matching kw. |