| 1 |
(* We'd like to use String.equal but that's OCaml >= 4.03 *) |
| 2 |
let not_flag x = not ("--print-errors" = x) |
| 3 |
|
| 4 |
let () = |
| 5 |
let args = List.tl (Array.to_list Sys.argv) in |
| 6 |
let args = List.filter not_flag args in |
| 7 |
Format.printf "@[<v>%a@]@." |
| 8 |
(Format.pp_print_list Format.pp_print_string) args |