PATCH: Fix cxxfilt.c

Zack Weinberg zack@codesourcery.com
Wed Nov 26 02:06:00 GMT 2003


Ian Lance Taylor <ian@wasabisystems.com> writes:

> "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.

To the maximum extent possible, all options should have short names.
This is especially true of -h and -v which are commonly supported by
Unix-derived command line tools.  c++filt may not currently accept
these options but that is not a reason for it not to.

zw



More information about the Binutils mailing list