From bfc8195a318004cc6188e12a82946d799db431a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aoi=20Koizumi=20=28=E5=8F=A4=E6=B3=89=20=E3=81=82=E3=81=8A?= =?UTF-8?q?=E3=81=84=29?= Date: Sun, 19 Jun 2022 22:15:44 +0000 Subject: [PATCH] Fix some typos on the docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aoi Koizumi (古泉 あおい) --- cli/convert.ml | 2 +- cli/publish.ml | 2 +- cli/read.ml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/convert.ml b/cli/convert.ml index a2fc899..4bae97a 100644 --- a/cli/convert.ml +++ b/cli/convert.ml @@ -62,6 +62,6 @@ let term = let noindex = Arg.(value & flag & info ["noindex"] ~doc:"don't create indices in target format") in Term.(const convert_dir $ types $ noindex $ directory), - Term.info "convert" ~doc:"convert txts" + Term.info "convert" ~doc:"convert texts" ~man:[ `S "DESCRIPTION"; `P "Convert texts within a directory to another format. Directory must contain an index.pck. Run `txt index` first." ] diff --git a/cli/publish.ml b/cli/publish.ml index fcc48b6..29b1c82 100644 --- a/cli/publish.ml +++ b/cli/publish.ml @@ -26,5 +26,5 @@ let publish ids = open Cmdliner let term = let ids = Arg.(value & pos_all string [] & info [] ~docv:"text ids") in - let doc = "convert texts into standart public dirs public_{html,gemini,gopher} if they exists" in + let doc = "convert texts into standard public dirs public_{html,gemini,gopher} if they exist" in Term.(const publish $ ids), Term.info "publish" ~doc ~man:[ `S "DESCRIPTION"; `P doc ] diff --git a/cli/read.ml b/cli/read.ml index 0d4328e..73230bb 100644 --- a/cli/read.ml +++ b/cli/read.ml @@ -33,6 +33,6 @@ let term = let topics = Arg.(value & opt (some string) None & info ["topics"] ~docv:"comma-separated topics" ~doc:"texts with topics") in Term.(const print $ recurse $ time $ reverse $ number $ authed $ topics $ id), - Term.info "read" ~doc:"list texts" ~man:[ `S "DESCRIPTION"; + Term.info "read" ~doc: "read a text" ~man:[ `S "DESCRIPTION"; `P "List header information for current directory. If -R is used, list header information for texts found in subdirectories too, along with their filepaths" ]