# HG changeset patch # User Augie Fackler # Date 1489015962 18000 # Node ID 8089de5fab89c15e2bb37a7ddf3d936054fb14a7 # Parent 79715ba22f9c873d0425894091c318ca958da8e5 dispatch: add pagination of two more help cases I missed these in the last round anf Yuya spotted them in review. Thanks! diff -r 79715ba22f9c -r 8089de5fab89 mercurial/dispatch.py --- a/mercurial/dispatch.py Wed Mar 08 18:31:33 2017 -0500 +++ b/mercurial/dispatch.py Wed Mar 08 18:32:42 2017 -0500 @@ -234,9 +234,11 @@ (inst.args[0], " ".join(inst.args[1]))) except error.CommandError as inst: if inst.args[0]: + ui.pager('help') ui.warn(_("hg %s: %s\n") % (inst.args[0], inst.args[1])) 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') except error.ParseError as inst: