Skip to content

Commit 3b908b9

Browse files
committed
Merge branch 'maint'
* maint: Document that LineLength 0 means infinite in one more place
2 parents 06cdeda + 287c644 commit 3b908b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/stdlib/src/io_lib.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,8 @@ longer than one line into many lines and indents each line sensibly.
478478
Also tries to detect and output lists of printable characters as strings.
479479

480480
- `Column` is the starting column; defaults to 1.
481-
- `LineLength` is the maximum line length; defaults to 80.
481+
- `LineLength` is the maximum line length; defaults to 80. The value 0 can be used
482+
to specify infinite length, meaning that no line breaks are inserted.
482483
- `Depth` is the maximum print depth; defaults to -1, which means no limitation.
483484
""".
484485
-spec print(Term, Column, LineLength, Depth) -> chars() when

0 commit comments

Comments
 (0)