This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] nm.c/objdump.c demangle short option bug fix.
On Fri, Jun 07, 2002 at 10:46:49AM +0300, Elias Athanasopoulos wrote:
> On Fri, Jun 07, 2002 at 10:13:14AM +0930, Alan Modra wrote:
> > On Thu, Jun 06, 2002 at 07:39:06PM +0300, Elias Athanasopoulos wrote:
>
> > > binutils/nm.c (main.c):
> > >
> > > case 'C':
> >
> > Showing this code snippet doesn't prove anything. case 'C' also
> > handles --demangle, which does take an optional arg.
>
> Aren't '-C' and '--demangle' equivelant
No.
> as, for example, '-f' and
> '--format' are? How can someone specify the demnagle style using
> '-C?'
You can't.
> Or what's the purpose of the '-C' option. If it doesn't take
> an 'optional' arg then the listed usage is wrong, because it is exactly
> the same with the '-t' and '-f' cases (both of them do take
> an option).
No, -t and -f are different in that they _require_ an arg.
--
Alan Modra
IBM OzLabs - Linux Technology Centre