Skip to content

Commit

Permalink
Add doc field to Cmdliner arg for ocaml_file
Browse files Browse the repository at this point in the history
  • Loading branch information
n-osborne committed May 16, 2024
1 parent 27ae30d commit e5ca170
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/registration.ml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ let ocaml_file =
else `Ok s
| false -> `Error (Fmt.str "Error: `%s' not found" s)
in
Arg.(required & pos 0 (some (parse, Fmt.string)) None & info [] ~docv:"FILE")
Arg.(
required
& pos 0 (some (parse, Fmt.string)) None
& info [] ~docv:"FILE" ~doc:"Read Gospel specifications in FILE.")

0 comments on commit e5ca170

Please sign in to comment.