Skip to content

Commit

Permalink
fix cmd line after migration
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Jul 21, 2024
1 parent 6726861 commit f95d1b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
(name rtop)
(synopsis "Reason toplevel")
(description
"rtop is the toplevel (or REPL) for Reason, based on utop (https://github.com/diml/utop).")
"rtop is the toplevel (or REPL) for Reason, based on utop (https://github.com/ocaml-community/utop).")
(depends
(ocaml
(and
Expand Down
2 changes: 1 addition & 1 deletion rtop.opam
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ opam-version: "2.0"
version: "3.8.2"
synopsis: "Reason toplevel"
description:
"rtop is the toplevel (or REPL) for Reason, based on utop (https://github.com/diml/utop)."
"rtop is the toplevel (or REPL) for Reason, based on utop (https://github.com/ocaml-community/utop)."
maintainer: [
"Jordan Walke <[email protected]>"
"Antonio Nuno Monteiro <[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions src/refmt/refmt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ let version = "Reason " ^ Package.version ^ " @ " ^ Package.git_short_version
in
Cmd.info "refmt" ~version ~doc ~man

let refmt_t: [ `Error of bool * string | `Ok of unit ] Cmd.t =
let refmt_t =
let open Term in
let open Refmt_args in
let term = const refmt $ interface
Expand All @@ -185,7 +185,7 @@ let refmt_t: [ `Error of bool * string | `Ok of unit ] Cmd.t =
$ in_place
$ input
in
Cmd.v top_level_info term
Cmd.v top_level_info (Term.ret term)

let () =
match Cmd.eval_value' refmt_t with
Expand Down

0 comments on commit f95d1b2

Please sign in to comment.