summaryrefslogtreecommitdiffstats
path: root/ocamldoc/odoc_args.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocamldoc/odoc_args.ml')
-rw-r--r--ocamldoc/odoc_args.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ocamldoc/odoc_args.ml b/ocamldoc/odoc_args.ml
index f266e99f5..a1c009623 100644
--- a/ocamldoc/odoc_args.ml
+++ b/ocamldoc/odoc_args.ml
@@ -221,6 +221,7 @@ let options = ref [
"-rectypes", Arg.Set recursive_types, M.rectypes ;
"-nolabels", Arg.Unit (fun () -> classic := true), M.nolabels ;
"-warn-error", Arg.Set Odoc_global.warn_error, M.werr ;
+ "-hide-warnings", Arg.Clear Odoc_config.print_warnings, M.hide_warnings ;
"-o", Arg.String (fun s -> out_file := s), M.out_file ;
"-d", Arg.String (fun s -> target_dir := s), M.target_dir ;
"-sort", Arg.Unit (fun () -> sort_modules := true), M.sort_modules ;