Skip to content

Commit

Permalink
Add --version to command line
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Jul 11, 2023
1 parent 447d4be commit d041fbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ let serve_command =
Cmd.v (Cmd.info "serve") term

let main_command =
let term = Term.(ret (const (`Help (`Pager, None)))) in
Cmd.group ~default:term (Cmd.info "ocamlearybird") [debug_command; serve_command]
Cmd.group (Cmd.info "ocamlearybird" ~version:"%%VERSION%%") [debug_command; serve_command]

let () =
(Lwt.async_exception_hook :=
Expand Down

0 comments on commit d041fbd

Please sign in to comment.