From 978df237009c19d14996b9b681176f8db95a1e14 Mon Sep 17 00:00:00 2001 From: Shon Feder Date: Sat, 6 Feb 2021 09:04:10 -0500 Subject: [PATCH] Correct and improve CLI docs --- bin/main.ml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/main.ml b/bin/main.ml index 8bb3dfe..7a5d944 100644 --- a/bin/main.ml +++ b/bin/main.ml @@ -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 )