Permalink
Browse files

Update getopt.erl

  • Loading branch information...
1 parent 0e7defa commit aeb3081111a327d3dc2f43be664c4a4761abde50 @tuncer tuncer committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/getopt.erl
View
@@ -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).

0 comments on commit aeb3081

Please sign in to comment.