On 05/29/2014 12:17 AM, Amit Kucheria wrote:
Adding ':' as first character of optstring to getopt_long allows separating
error message for invalid option and invalid option arguments
Signed-off-by: Amit Kucheria
Acked-by: Daniel Lezcano
---
idlestat.c | 15 ++-
1 file change
Adding ':' as first character of optstring to getopt_long allows separating
error message for invalid option and invalid option arguments
Signed-off-by: Amit Kucheria
---
idlestat.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index