The maximum width for the usage output is now 75 characters

This commit is contained in:
Juan Jose Comellas 2013-01-25 13:56:55 -03:00
parent b9f1e63971
commit 8151b3f37d

View File

@ -812,10 +812,8 @@ get_env_var(Prefix, Suffix, []) ->
-spec line_length() -> non_neg_integer().
line_length() ->
case io:columns() of
{ok, Columns} when Columns >= ?LINE_LENGTH ->
Columns - 5;
{ok, Columns} ->
Columns;
{ok, Columns} when Columns < ?LINE_LENGTH ->
Columns - 1;
_ ->
?LINE_LENGTH
end.