aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPierre Fenoll <[email protected]>2016-08-29 20:08:00 +0200
committerPierre Fenoll <[email protected]>2016-08-31 17:07:30 +0200
commit7b0981fe8ec30961dc723ee5fdb4b9f911493df1 (patch)
tree39d37cbc387584ff0ddb896d16e4fa2b1f833431 /lib
parentf3e018dc3bb3c74b88c7454f6a1888938215f912 (diff)
downloadotp-7b0981fe8ec30961dc723ee5fdb4b9f911493df1.tar.gz
otp-7b0981fe8ec30961dc723ee5fdb4b9f911493df1.tar.bz2
otp-7b0981fe8ec30961dc723ee5fdb4b9f911493df1.zip
Fix documentation of an option of erl_tidy
Diffstat (limited to 'lib')
-rw-r--r--lib/syntax_tools/src/erl_tidy.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/erl_tidy.erl b/lib/syntax_tools/src/erl_tidy.erl
index 5d3fc6f062..9e273dfb84 100644
--- a/lib/syntax_tools/src/erl_tidy.erl
+++ b/lib/syntax_tools/src/erl_tidy.erl
@@ -210,7 +210,7 @@ file__defaults() ->
{verbose, false}].
default_printer() ->
- fun (Tree, Options) -> erl_prettypr:format(Tree, Options) end.
+ fun erl_prettypr:format/2.
%% =====================================================================
%% @spec file(Name) -> ok
@@ -257,7 +257,7 @@ file(Name) ->
%%
%% <dt>{printer, Function}</dt>
%% <dd><ul>
-%% <li>`Function = (syntaxTree()) -> string()'</li>
+%% <li>`Function = (syntaxTree(), [term()]) -> string()'</li>
%% </ul>
%%
%% Specifies a function for prettyprinting Erlang syntax trees.