diff -r bad46c934c31 -r ab09e797fbed mercurial/help.py --- a/mercurial/help.py Sat Oct 20 00:12:20 2018 +0300 +++ b/mercurial/help.py Sat Oct 13 05:02:55 2018 -0700 @@ -194,6 +194,8 @@ return True if not ui.verbose and doc and any(w in doc for w in _exclkeywords): return True + if ui.configbool('help', 'hidden-command.%s' % cmd): + return True return False def topicmatch(ui, commands, kw):