This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix cxxfilt.c
"H. J. Lu" <hjl@lucon.org> writes:
> On Mon, Nov 24, 2003 at 03:58:23PM -0500, Ian Lance Taylor wrote:
> > "H. J. Lu" <hjl@lucon.org> writes:
> >
> > > cxxfilt is supposed to accept -h and -v. But they aren't allowed. This
> > > patch fixes it.
> >
> > Why do you say that c++filt is supposed to accept -h and -v? They're
> > not in the usage message. They're not in the documentation. --help
> > and --version are listed in both places, but -h and -v are listed in
> > neither.
>
> Then, remove the code which handles -v and -h.
There is no such code. If you try to use -v or -h, you will get an
`invalid option' error.
You may be confused by the fact that cxxfilt.c happens to represent
the long option --help using the code 'h', and similarly represents
--version using the code 'v'. There is nothing wrong with that,
though.
Ian