aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/io_lib_format.erl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2014-08-25 22:21:50 +0200
committerRichard Carlsson <[email protected]>2016-12-01 22:36:37 +0100
commit45106f76360c7db585479726789f9d91a8027e2c (patch)
treedfcf924592d2f9a470946ad9217eea55f55a409e /lib/stdlib/src/io_lib_format.erl
parentc49194c9239c0dcad17b902b6638edf53bb69c6c (diff)
downloadotp-45106f76360c7db585479726789f9d91a8027e2c.tar.gz
otp-45106f76360c7db585479726789f9d91a8027e2c.tar.bz2
otp-45106f76360c7db585479726789f9d91a8027e2c.zip
Add comments for understanding io_lib_pretty
Diffstat (limited to 'lib/stdlib/src/io_lib_format.erl')
-rw-r--r--lib/stdlib/src/io_lib_format.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib/src/io_lib_format.erl b/lib/stdlib/src/io_lib_format.erl
index 1da866dc88..c7b75961cb 100644
--- a/lib/stdlib/src/io_lib_format.erl
+++ b/lib/stdlib/src/io_lib_format.erl
@@ -343,7 +343,8 @@ term(T, F, Adj, P0, Pad) ->
%% print(Term, Depth, Field, Adjust, Precision, PadChar, Encoding,
%% Indentation)
-%% Print a term.
+%% Print a term. Field width sets maximum line length, Precision sets
+%% initial indentation.
print(T, D, none, Adj, P, Pad, E, Str, I) ->
print(T, D, 80, Adj, P, Pad, E, Str, I);