mercurial/help.py
changeset 27324 5456374561a7
parent 27323 0fe93498ef07
child 27325 eadbbd14bdc1
--- a/mercurial/help.py	Wed Dec 09 19:09:06 2015 +0000
+++ b/mercurial/help.py	Wed Dec 09 19:09:35 2015 +0000
@@ -124,6 +124,8 @@
             if doclines:
                 summary = doclines[0]
             cmdname = cmd.partition('|')[0].lstrip('^')
+            if filtercmd(ui, cmdname, kw, docs):
+                continue
             results['commands'].append((cmdname, summary))
     for name, docs in itertools.chain(
         extensions.enabled(False).iteritems(),