diff options
author | Hans Bolinder <[email protected]> | 2016-09-02 08:48:18 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-09-02 08:48:18 +0200 |
commit | 49381b90620e88bda2d3f3edce25c8e841ded9c1 (patch) | |
tree | a0846e02600bea162af966de8244ed7a0e058097 /lib | |
parent | 507016a45878f414951ce0d0b5e4417ccff9cd0e (diff) | |
parent | 82e5d81d57676a9e039d93544583895e92840beb (diff) | |
download | otp-49381b90620e88bda2d3f3edce25c8e841ded9c1.tar.gz otp-49381b90620e88bda2d3f3edce25c8e841ded9c1.tar.bz2 otp-49381b90620e88bda2d3f3edce25c8e841ded9c1.zip |
Merge branch 'maint'
* maint:
Fix documentation of an option of erl_tidy
Diffstat (limited to 'lib')
-rw-r--r-- | lib/syntax_tools/src/erl_tidy.erl | 4 |
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. |