summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Clerc <xavier.clerc@inria.fr>2012-10-10 09:38:24 +0000
committerXavier Clerc <xavier.clerc@inria.fr>2012-10-10 09:38:24 +0000
commit78e80bc087dc74c389631f1114a778e50f87cc93 (patch)
tree880e393661e78974c5b75c7923e1497fd1217207
parent8e94d482d758711229f2f05d566775a339f51e78 (diff)
PR#5300: verbose parameter should implicitly set classic display
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--Changes1
-rw-r--r--ocamlbuild/options.ml2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changes b/Changes
index 45124ffaa..08d87907c 100644
--- a/Changes
+++ b/Changes
@@ -40,6 +40,7 @@ OCaml 4.00.2:
Bug fixes:
- PR#5240: register exception printers for Unix.Unix_error and Dynlink.Error
+- PR#5300: verbose parameter should implicitly set classic display
- PR#5772: problem with marshaling of mutually-recursive functions
diff --git a/ocamlbuild/options.ml b/ocamlbuild/options.ml
index f7b2e1168..91db2743d 100644
--- a/ocamlbuild/options.ml
+++ b/ocamlbuild/options.ml
@@ -141,7 +141,7 @@ let spec = ref (
"-vnum", Unit (fun () -> print_endline Sys.ocaml_version; raise Exit_OK),
" Display the version number";
"-quiet", Unit (fun () -> Log.level := 0), " Make as quiet as possible";
- "-verbose", Int (fun i -> Log.level := i + 2), "<level> Set the verbosity level";
+ "-verbose", Int (fun i -> Log.classic_display := true; Log.level := i + 2), "<level> Set the verbosity level";
"-documentation", Set show_documentation, " Show rules and flags";
"-log", Set_string log_file_internal, "<file> Set log file";
"-no-log", Unit (fun () -> log_file_internal := ""), " No log file";