diff options
author | Alain Frisch <alain@frisch.fr> | 2010-05-04 18:44:38 +0000 |
---|---|---|
committer | Alain Frisch <alain@frisch.fr> | 2010-05-04 18:44:38 +0000 |
commit | e09a12388f32e8572f14c6a681552a864ef79930 (patch) | |
tree | 6f18303c27ea00b4280a183646a4e108d9f2716d /toplevel | |
parent | 6db50e804c1b256594a399656b8a26b04117dcb4 (diff) |
New -help-warnings command-line option.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'toplevel')
-rw-r--r-- | toplevel/opttopmain.ml | 1 | ||||
-rw-r--r-- | toplevel/topmain.ml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/toplevel/opttopmain.ml b/toplevel/opttopmain.ml index 3575abbba..2f6f25e81 100644 --- a/toplevel/opttopmain.ml +++ b/toplevel/opttopmain.ml @@ -58,6 +58,7 @@ module Options = Main_args.Make_opttop_options (struct let clear r () = r := false let _compact = clear optimize_for_speed + let _help_warnings = Warnings.help_warnings let _I dir = let dir = Misc.expand_directory Config.standard_library dir in include_dirs := dir :: !include_dirs diff --git a/toplevel/topmain.ml b/toplevel/topmain.ml index b63eefcb4..3a4adcbd8 100644 --- a/toplevel/topmain.ml +++ b/toplevel/topmain.ml @@ -54,6 +54,7 @@ module Options = Main_args.Make_bytetop_options (struct let set r () = r := true let clear r () = r := false + let _help_warnings = Warnings.help_warnings let _I dir = let dir = Misc.expand_directory Config.standard_library dir in include_dirs := dir :: !include_dirs |