diff options
author | Andrew Burgess <aburgess@redhat.com> | 2025-03-06 15:46:14 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2025-03-13 15:33:31 +0000 |
commit | 86ab2c442ff669481df17681a27bb9c7b9a64289 (patch) | |
tree | 223022a2fab87bbbd7d80ec5bca21b26a6dc3347 /gdb/python/python.c | |
parent | 56252b7c913aad1aed5f14bf81c87bb7d22edfbb (diff) | |
download | binutils-86ab2c442ff669481df17681a27bb9c7b9a64289.zip binutils-86ab2c442ff669481df17681a27bb9c7b9a64289.tar.gz binutils-86ab2c442ff669481df17681a27bb9c7b9a64289.tar.bz2 |
gcore: add -h|--help options, and improve help/usage message output
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.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32325
Approved-By: Tom Tromey <tom@tromey.com>
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions