[PATCH 09 of 19 pager] help: enable pager

Yuya Nishihara yuya at tcha.org
Wed Feb 22 09:22:22 EST 2017


On Tue, 21 Feb 2017 10:51:32 -0500, Augie Fackler wrote:
> > On Feb 21, 2017, at 07:58, Yuya Nishihara <yuya at tcha.org> wrote:
> > On Sun, 19 Feb 2017 18:13:00 -0500, Augie Fackler wrote:
> >> # HG changeset patch
> >> # User Augie Fackler <augie at google.com>
> >> # Date 1486440561 18000
> >> #      Mon Feb 06 23:09:21 2017 -0500
> >> # Node ID f6f080904a6ecac993f137b92d50bf4991f8d07c
> >> # Parent  6dd615d163eb069405ba71fe968980d3340d4702
> >> help: enable pager
> > 
> > Good news: now --help can be paged!
> > 
> > Bad news: command error is hidden behind pager. Maybe we'll need to start
> > a pager before calling ui.warn() + commands.help_() ?
> 
> Ooh, gross. I think I'd actually rather we change the 'unknown command' output to not include that full list of commands and instead have a hint to run 'hg help -c' for a list of commands - thoughts?

I like it. I tend to skip reading long text, and just look for TL;DR. But
I'm not sure if this kind of minor preference is worth BC.


More information about the Mercurial-devel mailing list