Fix some typos on the docs

Signed-off-by: Aoi Koizumi (古泉 あおい) <novaburst@kalli.st>
This commit is contained in:
Aoi Koizumi (古泉 あおい) 2022-06-19 22:15:44 +00:00 committed by orbifx
parent b38baf8268
commit bfc8195a31
3 changed files with 3 additions and 3 deletions

View File

@ -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." ]

View File

@ -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 ]

View File

@ -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" ]