diff -r 5456374561a7 -r eadbbd14bdc1 mercurial/dispatch.py --- a/mercurial/dispatch.py Wed Dec 09 19:09:35 2015 +0000 +++ b/mercurial/dispatch.py Wed Dec 09 05:56:54 2015 +0000 @@ -854,7 +854,7 @@ if options['version']: return commands.version_(ui) if options['help']: - return commands.help_(ui, cmd, command=True) + return commands.help_(ui, cmd, command=cmd is not None) elif not cmd: return commands.help_(ui, 'shortlist')