From 03b7ef8563ab0ca1fb6e1f0e5f7a7e9c2cd98ff5 Mon Sep 17 00:00:00 2001 From: novaburst Date: Mon, 20 Jun 2022 09:53:27 +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 (古泉 あおい) git-svn-id: file:///srv/svn/repo/kosuzu/trunk@10 eb64cd80-c68d-6f47-b6a3-0ada418499da --- 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" ]