This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 01/10] Rationalize "backtrace" command line parsing
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 14 Jul 2017 13:08:11 +0100
- Subject: Re: [RFA 01/10] Rationalize "backtrace" command line parsing
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 4F24EC0467D5
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4F24EC0467D5
- References: <20170425194113.17862-1-tom@tromey.com> <20170425194113.17862-2-tom@tromey.com> <9cfa324d-f685-405f-92be-f74846da4e91@redhat.com> <87shi5me8i.fsf@tromey.com>
On 07/09/2017 11:34 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> It might be good to clarify "help bt", to show something around:
> Pedro> Usage: backtrace [QUALIFIERS]... COUNT
>
> How about the appended?
Thanks, LGTM, with a minor nit:
> +Usage: backtrace [QUALIFIERS]... [COUNT]\n\
I should have suggested "[QUALIFIER]..." (singular).
The "..." already indicates you can have multiple instances.
The output of
$ grep -rn "]\.\.\." -rn
seems to agree.
and so does "ls --help", etc.
Thanks,
Pedro Alves