Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andrew Burgess <aburgess@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 2/3] gcore: add -h|--help options, and improve help/usage message output
Date: Thu, 06 Mar 2025 19:33:18 +0200	[thread overview]
Message-ID: <8634fqm5cx.fsf@gnu.org> (raw)
In-Reply-To: <6276f9ffdcfab6aadd5cc46c646197923a6c1043.1741280898.git.aburgess@redhat.com> (message from Andrew Burgess on Thu, 6 Mar 2025 17:10:23 +0000)

> From: Andrew Burgess <aburgess@redhat.com>
> Cc: Andrew Burgess <aburgess@redhat.com>
> Date: Thu,  6 Mar 2025 17:10:23 +0000
> 
> Like the previous commit, this copies a lot from:
> 
>   commit fb2ded33c1e519659743047ed7817166545b6d91
>   Date:   Fri Dec 20 12:46:11 2024 -0800
> 
>       Add gstack script
> 
> And adds -h | --help options to the gcore script, and smartens up the
> help and usage output messages.
> 
> The usage text is now split over several lines (as it was getting a
> bit long), and an input error suggests using `--help` instead of
> printing the full usage string.
> 
> These changes bring gcore and gstack closer in behaviour.
> ---
>  gdb/NEWS            |  3 ++-
>  gdb/doc/gdb.texinfo |  6 +++++-
>  gdb/gcore-1.in      | 50 ++++++++++++++++++++++++++++++++++++++++-----
>  3 files changed, 52 insertions(+), 7 deletions(-)

OK for the documentation parts, thanks.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>

  reply	other threads:[~2025-03-06 17:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-06 17:10 [PATCH 0/3] gcore: add --help and --version options Andrew Burgess
2025-03-06 17:10 ` [PATCH 1/3] gcore: add -v or --version option to show version number Andrew Burgess
2025-03-06 17:31   ` Eli Zaretskii
2025-03-06 17:10 ` [PATCH 2/3] gcore: add -h|--help options, and improve help/usage message output Andrew Burgess
2025-03-06 17:33   ` Eli Zaretskii [this message]
2025-03-06 17:10 ` [PATCH 3/3] gcore/doc: fix mistake in the gcore man page Andrew Burgess
2025-03-06 17:32   ` Eli Zaretskii
2025-03-06 20:16 ` [PATCH 0/3] gcore: add --help and --version options Tom Tromey
2025-03-06 20:19 ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8634fqm5cx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=aburgess@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox