Re: [PATCH v3] parser: be more picky for integer values

2012-04-20 Thread Tiago Vignatti
On 04/20/2012 12:02 PM, Pekka Paalanen wrote: On Fri, 16 Mar 2012 15:12:14 -0300 Tiago Vignatti wrote: It was silently accepting "-i=3", "-i=3/2", "--idle-time=*3" and similar unwanted type of arguments, not changing anything internally; this gives the wrong impression for the user. Now it exp

Re: [PATCH v3] parser: be more picky for integer values

2012-04-20 Thread Pekka Paalanen
On Fri, 16 Mar 2012 15:12:14 -0300 Tiago Vignatti wrote: > It was silently accepting "-i=3", "-i=3/2", "--idle-time=*3" and similar > unwanted type of arguments, not changing anything internally; this > gives the wrong impression for the user. Now it explicitly warns. > > Signed-off-by: Tiago Vi

Re: [PATCH v3] parser: be more picky for integer values

2012-03-19 Thread Pekka Paalanen
On Fri, 16 Mar 2012 15:12:14 -0300 Tiago Vignatti wrote: > It was silently accepting "-i=3", "-i=3/2", "--idle-time=*3" and similar > unwanted type of arguments, not changing anything internally; this > gives the wrong impression for the user. Now it explicitly warns. > > Signed-off-by: Tiago Vi

[PATCH v3] parser: be more picky for integer values

2012-03-16 Thread Tiago Vignatti
It was silently accepting "-i=3", "-i=3/2", "--idle-time=*3" and similar unwanted type of arguments, not changing anything internally; this gives the wrong impression for the user. Now it explicitly warns. Signed-off-by: Tiago Vignatti --- Pekka, I guess now it's alright, please take a look. If i