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

2012-03-15 Thread Pekka Paalanen
Hi Tiago, looks much better. Some comments still... On Wed, 14 Mar 2012 20:08:30 -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

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

2012-03-14 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 ignores. Signed-off-by: Tiago Vignatti --- since v1: - use strtol() built-in features for checking