Skip to content

Commit

Permalink
fixup! Remove all kinds of global open
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonidas-from-XIV committed May 31, 2024
1 parent bdca9d8 commit e57b94b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/ydump.ml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ let parse_cmdline () =
let files = ref [] in
let anon_fun s = files := s :: !files in
let msg =
sprintf
Printf.sprintf
"JSON pretty-printer based on the Yojson library for OCaml\n\n\
%s\n\n\
JSON pretty-printer based on the Yojson library for OCaml\n\n\
Expand All @@ -117,7 +117,7 @@ let parse_cmdline () =
| [] -> `Stdin
| [ x ] -> `File x
| _ ->
eprintf "Too many input files\n%!";
Printf.eprintf "Too many input files\n%!";
exit 1
in
let out_file = match !out with None -> `Stdout | Some x -> `File x in
Expand Down

0 comments on commit e57b94b

Please sign in to comment.