diff options
| author | Gabriel Scherer <gabriel.scherer@gmail.com> | 2015-08-15 15:57:51 +0000 |
|---|---|---|
| committer | Gabriel Scherer <gabriel.scherer@gmail.com> | 2015-08-15 15:57:51 +0000 |
| commit | cb3bb152ab337b895a645c05c0b15d715e78e90b (patch) | |
| tree | 842dee58e41054db3aef4e9bc019a67b53492e01 /tools | |
| parent | 5893536b14c5801700892f85c6948a0fa2bb812a (diff) | |
| download | ocaml-cb3bb152ab337b895a645c05c0b15d715e78e90b.tar.gz | |
add option handling for colors in compiler, OCAMLPARAM and ocamlbuild
(Simon Cruanes and Gabriel Scherer)
Use one of
-color auto
-color always
-color never
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16348 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/ocamlcp.ml | 1 | ||||
| -rw-r--r-- | tools/ocamloptp.ml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/ocamlcp.ml b/tools/ocamlcp.ml index 26ced6c567..74724576db 100644 --- a/tools/ocamlcp.ml +++ b/tools/ocamlcp.ml @@ -100,6 +100,7 @@ module Options = Main_args.Make_bytecomp_options (struct let _w = option_with_arg "-w" let _warn_error = option_with_arg "-warn-error" let _warn_help = option "-warn-help" + let _color s = option_with_arg "-color" s let _where = option "-where" let _nopervasives = option "-nopervasives" let _dsource = option "-dsource" diff --git a/tools/ocamloptp.ml b/tools/ocamloptp.ml index fd15fe5968..6daaa252ab 100644 --- a/tools/ocamloptp.ml +++ b/tools/ocamloptp.ml @@ -100,6 +100,7 @@ module Options = Main_args.Make_optcomp_options (struct let _w = option_with_arg "-w" let _warn_error = option_with_arg "-warn-error" let _warn_help = option "-warn-help" + let _color s = option_with_arg "-color" s let _where = option "-where" let _nopervasives = option "-nopervasives" |
