Skip to content

Commit

Permalink
Correct and improve CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shonfeder committed Feb 6, 2021
1 parent 2d75ccc commit 978df23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ let () =
@@ let+ file =
Optional.pos
"FILE"
~doc:"File to read text from. If absent, read from stdout."
~doc:"File to read text from. If absent, read from stdin."
~conv:Arg.(conv (Fpath.of_string, Fpath.pp))
~nth:0
()
and+ inplace =
Optional.flag
~flags:[ "i"; "inplace" ]
~doc:"Emojify the input file in place."
~doc:
"Emojify the input file in place. If abasent, print to stdout."
()
in
Lib.Github.emojify inplace file )
Expand Down

0 comments on commit 978df23

Please sign in to comment.