The maximum width for the usage output is now 75 characters
This commit is contained in:
parent
b9f1e63971
commit
8151b3f37d
@ -812,10 +812,8 @@ get_env_var(Prefix, Suffix, []) ->
|
|||||||
-spec line_length() -> non_neg_integer().
|
-spec line_length() -> non_neg_integer().
|
||||||
line_length() ->
|
line_length() ->
|
||||||
case io:columns() of
|
case io:columns() of
|
||||||
{ok, Columns} when Columns >= ?LINE_LENGTH ->
|
{ok, Columns} when Columns < ?LINE_LENGTH ->
|
||||||
Columns - 5;
|
Columns - 1;
|
||||||
{ok, Columns} ->
|
|
||||||
Columns;
|
|
||||||
_ ->
|
_ ->
|
||||||
?LINE_LENGTH
|
?LINE_LENGTH
|
||||||
end.
|
end.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user