aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_cl_parse.erl
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-03-28 16:11:36 +0200
committerHenrik Nord <[email protected]>2012-05-21 15:31:23 +0200
commit49c657461866f0fe87de2ee7578b46b1b926db10 (patch)
treec006b99e48d48171d5740beb27e0da9f2bf5aa6c /lib/dialyzer/src/dialyzer_cl_parse.erl
parent12b8ce08ece794e677fdd148723fbe0a707bef6f (diff)
downloadotp-49c657461866f0fe87de2ee7578b46b1b926db10.tar.gz
otp-49c657461866f0fe87de2ee7578b46b1b926db10.tar.bz2
otp-49c657461866f0fe87de2ee7578b46b1b926db10.zip
Logfile-like statistics (enabled with --resources)
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl_parse.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_cl_parse.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl_parse.erl b/lib/dialyzer/src/dialyzer_cl_parse.erl
index 05e50c3d6b..205b97ccf9 100644
--- a/lib/dialyzer/src/dialyzer_cl_parse.erl
+++ b/lib/dialyzer/src/dialyzer_cl_parse.erl
@@ -167,6 +167,10 @@ cl(["--no_spec"|T]) ->
cl(["--statistics"|T]) ->
put(dialyzer_timing, true),
cl(T);
+cl(["--resources"|T]) ->
+ put(dialyzer_options_report_mode, quiet),
+ put(dialyzer_timing, debug),
+ cl(T);
cl(["-v"|_]) ->
io:format("Dialyzer version "++?VSN++"\n"),
erlang:halt(?RET_NOTHING_SUSPICIOUS);