mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Update getopt.erl
This commit is contained in:
parent
0e7defaf64
commit
aeb3081111
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ is_boolean_arg(Arg) ->
|
||||||
|
|
||||||
|
|
||||||
-spec is_integer_arg(string()) -> boolean().
|
-spec is_integer_arg(string()) -> boolean().
|
||||||
is_integer_arg([$- | Tail]) ->
|
is_integer_arg("-" ++ Tail) ->
|
||||||
is_non_neg_integer_arg(Tail);
|
is_non_neg_integer_arg(Tail);
|
||||||
is_integer_arg(Arg) ->
|
is_integer_arg(Arg) ->
|
||||||
is_non_neg_integer_arg(Arg).
|
is_non_neg_integer_arg(Arg).
|
||||||
|
|
Loading…
Reference in a new issue