Add the version to the exe

This commit is contained in:
Jeremie Dimino 2017-05-08 17:19:27 +01:00
parent ddadf85d62
commit cbc890dc5c
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ let all =
let default =
let doc = "composable build system for OCaml" in
( Term.(ret (const (fun _ -> `Help (`Pager, None)) $ common))
, Term.info "jbuilder" ~doc
, Term.info "jbuilder" ~doc ~version:"%%VERSION%%"
~man:
[ `S "DESCRIPTION"
; `P {|Jbuilder is a build system designed for OCaml projects only. It