This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 0/4] Improve "show style", use style in "help" and "apropos".
- From: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- To: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 18 Jun 2019 22:11:43 +0200
- Subject: Re: [RFA 0/4] Improve "show style", use style in "help" and "apropos".
- References: <20190531131903.21203-1-philippe.waroquiers@skynet.be> <02aed9b6-1ce0-b48f-ed01-ef0fc0fa20b5@redhat.com>
On Tue, 2019-06-18 at 14:09 +0100, Pedro Alves wrote:
> I tried the patchlet below, to add a "-------" separator line
> between commands, and to me, the guidelines help.
> It also helps when styling is disabled, as with:
>
> (gdb) | with pagination off -- apropos -v breakpoint | less
>
> WDYT?
Effectively, 'pagination off' and event worse 'style enabled off'
make it significantly more difficult to see where apropos -v
starts the doc of a new command.
So, adding a separator line of ----------------- helps for such
cases.
I am just wondering if we then still need an empty line
before the ------ separator line.
I have a slight preference for the more compact one separator line
of ------------ (but of course, I will not have any nausea if we
keep the 2 lines separator).
Philippe