diff options
author | Hans Bolinder <[email protected]> | 2016-09-02 08:46:24 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-09-02 08:46:24 +0200 |
commit | 82e5d81d57676a9e039d93544583895e92840beb (patch) | |
tree | 9bd6340a3fb8b5b4bb4eadbc8aca5de614f1bd58 /lib/syntax_tools/src/erl_tidy.erl | |
parent | db096ad15022ae4f9605fa42bf74780641dc6dac (diff) | |
parent | 7b0981fe8ec30961dc723ee5fdb4b9f911493df1 (diff) | |
download | otp-82e5d81d57676a9e039d93544583895e92840beb.tar.gz otp-82e5d81d57676a9e039d93544583895e92840beb.tar.bz2 otp-82e5d81d57676a9e039d93544583895e92840beb.zip |
Merge branch 'fenollp/syntax_tools/erl_tidy_option/PR-1151' into maint
* fenollp/syntax_tools/erl_tidy_option/PR-1151:
Fix documentation of an option of erl_tidy
Diffstat (limited to 'lib/syntax_tools/src/erl_tidy.erl')
-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. |