Changeset 10 in code for trunk


Ignore:
Timestamp:
Jun 20, 2022, 9:53:27 AM (3 years ago)
Author:
novaburst
Message:

Fix some typos on the docs

Signed-off-by: Aoi Koizumi (古泉 あおい) <novaburst@…>

Location:
trunk/cli
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/convert.ml

    r3 r10  
    6363                ~doc:"don't create indices in target format") in
    6464        Term.(const convert_dir $ types $ noindex $ directory),
    65         Term.info "convert" ~doc:"convert txts"
     65        Term.info "convert" ~doc:"convert texts"
    6666                ~man:[ `S "DESCRIPTION"; `P "Convert texts within a directory to another format.
    6767                Directory must contain an index.pck. Run `txt index` first." ]
  • trunk/cli/publish.ml

    r6 r10  
    2727let term =
    2828        let ids = Arg.(value & pos_all string [] & info [] ~docv:"text ids") in
    29         let doc = "convert texts into standart public dirs public_{html,gemini,gopher} if they exists" in
     29        let doc = "convert texts into standard public dirs public_{html,gemini,gopher} if they exist" in
    3030        Term.(const publish $ ids), Term.info "publish" ~doc ~man:[ `S "DESCRIPTION"; `P doc ]
  • trunk/cli/read.ml

    r9 r10  
    3434                ~docv:"comma-separated topics" ~doc:"texts with topics") in
    3535        Term.(const print $ recurse $ time $ reverse $ number $ authed $ topics $ id),
    36         Term.info "read" ~doc:"list texts" ~man:[ `S "DESCRIPTION";
     36        Term.info "read" ~doc: "read a text" ~man:[ `S "DESCRIPTION";
    3737                `P "List header information for current directory. If -R is used, list header
    3838                information for texts found in subdirectories too, along with their filepaths" ]
Note: See TracChangeset for help on using the changeset viewer.