Fix some typos on the docs

Signed-off-by: Aoi Koizumi (古泉 あおい) <novaburst@kalli.st>
master
Aoi Koizumi (古泉 あおい) 6 months ago committed by orbifx
parent b38baf8268
commit bfc8195a31
  1. 2
      cli/convert.ml
  2. 2
      cli/publish.ml
  3. 2
      cli/read.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." ]

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

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

Loading…
Cancel
Save