mercurial/dispatch.py
changeset 38788 a9ff2b0c11dd
parent 38787 5199c5b6fd29
child 39255 4019b4542e61
--- a/mercurial/dispatch.py	Tue Jul 24 10:22:07 2018 -0700
+++ b/mercurial/dispatch.py	Tue Jul 24 10:47:42 2018 -0700
@@ -370,9 +370,8 @@
             ui.warn(_("hg %s: %s\n") % (inst.args[0], msgbytes))
             commands.help_(ui, inst.args[0], full=False, command=True)
         else:
-            ui.pager('help')
             ui.warn(_("hg: %s\n") % inst.args[1])
-            commands.help_(ui, 'shortlist')
+            ui.warn(_("(use 'hg help -v' for a list of global options)\n"))
     except error.ParseError as inst:
         _formatparse(ui.warn, inst)
         return -1