Re: [PATCH] addr2line: -C should not try to handle optional (ignored) argument

2023-02-03 Thread Martin Liška
On 1/30/23 22:04, Mark Wielaard wrote: > Hi, > > On Mon, Jan 23, 2023 at 10:11:28AM +0100, Mark Wielaard wrote: >> The --demangle option takes an option (ignored) argument. Since -C >> is the short option of --demangle it also takes that optional >> argument. But that means that something like -Cf

Re: [PATCH] addr2line: -C should not try to handle optional (ignored) argument

2023-01-30 Thread Mark Wielaard
Hi, On Mon, Jan 23, 2023 at 10:11:28AM +0100, Mark Wielaard wrote: > The --demangle option takes an option (ignored) argument. Since -C > is the short option of --demangle it also takes that optional > argument. But that means that something like -Cfi is like -C got > fi as argument, while the use

[PATCH] addr2line: -C should not try to handle optional (ignored) argument

2023-01-23 Thread Mark Wielaard
The --demangle option takes an option (ignored) argument. Since -C is the short option of --demangle it also takes that optional argument. But that means that something like -Cfi is like -C got fi as argument, while the user expects -Cfi to be like -C -f -i. Separate the --demangle and -C options.