Re: [PATCH 4/5] trace-cmd: fix argument parsing minor BUG

2017-04-25 Thread Steven Rostedt
On Sun, 23 Apr 2017 12:22:57 +0200 Federico Vaga wrote: > For some reason the list command does not use anymore `getopt()` > to parse the arguments, instead it uses a custum implementation. > > During this change [5da0eff trace-cmd: Add regex for listing of events] >

Re: [PATCH 4/5] trace-cmd: fix argument parsing minor BUG

2017-04-25 Thread Steven Rostedt
On Sun, 23 Apr 2017 12:22:57 +0200 Federico Vaga wrote: > For some reason the list command does not use anymore `getopt()` > to parse the arguments, instead it uses a custum implementation. > > During this change [5da0eff trace-cmd: Add regex for listing of events] > the variable `optind` has

[PATCH 4/5] trace-cmd: fix argument parsing minor BUG

2017-04-23 Thread Federico Vaga
For some reason the list command does not use anymore `getopt()` to parse the arguments, instead it uses a custum implementation. During this change [5da0eff trace-cmd: Add regex for listing of events] the variable `optind` has been forgotten. To reproduce the problem try to use invalid

[PATCH 4/5] trace-cmd: fix argument parsing minor BUG

2017-04-23 Thread Federico Vaga
For some reason the list command does not use anymore `getopt()` to parse the arguments, instead it uses a custum implementation. During this change [5da0eff trace-cmd: Add regex for listing of events] the variable `optind` has been forgotten. To reproduce the problem try to use invalid