From 7740b79fa57c086a251a4b293a09c2a89165a578 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sun, 15 Apr 2012 22:48:27 +0200 Subject: [PATCH] Apply Tidier suggestion --- src/getopt.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/getopt.erl b/src/getopt.erl index 326071c..175b7a5 100644 --- a/src/getopt.erl +++ b/src/getopt.erl @@ -442,7 +442,7 @@ is_boolean_arg(Arg) -> -spec is_integer_arg(string()) -> boolean(). -is_integer_arg([$- | Tail]) -> +is_integer_arg("-" ++ Tail) -> is_non_neg_integer_arg(Tail); is_integer_arg(Arg) -> is_non_neg_integer_arg(Arg).