This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Make `objdump --help' a bit more GNUish
- To: nickc at cygnus dot com
- Subject: Re: Make `objdump --help' a bit more GNUish
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Wed, 12 Jul 2000 21:53:16 +0200
- CC: binutils at sourceware dot cygnus dot com
- References: <200007112024.NAA11290@elmo.cygnus.com>
Date: Tue, 11 Jul 2000 13:24:03 -0700
From: Nick Clifton <nickc@cygnus.com>
Hi Mark,
: 2000-07-11 Mark Kettenis <kettenis@gnu.org>
:
: * objdump.c (usage): Make output of `objdump --help' more
: consistent with the rest of the GNU world. Add a line describing
: the purpose of the program. Omit printing the program name when
: listing the supported targets.
This patch is basically OK, except for the removal of the program name
when listing the supported targets. Some tools (eg libtool) depend
upon being able to parse the target list in the output of --help.
(This may not be true for binutils, but it certainly is true for ld.
Take a look at the comment at the end of help() in ld/lexsup.c). So
for consistency's sake, I would suggest that we leave the program name
in.
Checked in now (sans removal of the program name from the list of
targets).
Mark