From 63fd9ed7bc5b3d46471a9b67b23db3fb3c3a4d60 Mon Sep 17 00:00:00 2001 From: Juan Jose Comellas Date: Thu, 18 Jul 2013 22:06:24 -0300 Subject: [PATCH] Fix dialyzer warning --- src/getopt.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/getopt.erl b/src/getopt.erl index 662d245..59e9cb7 100644 --- a/src/getopt.erl +++ b/src/getopt.erl @@ -889,7 +889,7 @@ get_env_var(Prefix, Suffix, []) -> Prefix ++ Suffix. --spec line_length() -> non_neg_integer(). +-spec line_length() -> 0..?LINE_LENGTH. line_length() -> case io:columns() of {ok, Columns} when Columns < ?LINE_LENGTH ->