Skip to content

Commit a23e491

Browse files
christinerosesabine
authored andcommitted
minor grammar and missing pronoun
1 parent 90eab59 commit a23e491

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

data/cookbook/parse-command-line-arguments/01-cmdliner.ml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ discussion: |
1010
works as well as example parsers and links to API docs.
1111
---
1212
(* The Cmdliner package offers a sophisticated compositional way of handling
13-
command-line parsing. It handles options, positional arguments and
14-
sub-commands. It will automatically generate help and a man-page.
13+
command-line parsing. It handles options, positional arguments, and
14+
subcommands. It will automatically generate help and a manpage.
1515
16-
The core of our application in this recipe is the `greeter` function -
16+
The core of our application in this recipe is the `greeter` function.
1717
Cmdliner will call this for us.
1818
19-
For `num_repeats` we want an optional integer (with a default of 1)
19+
For `num_repeats`, we want an optional integer (with a default of 1)
2020
21-
For the `names` we want all the positional arguments in a list.
21+
For the `names`, we want all the positional arguments in a list.
2222
2323
The top-level `Term` of our parser-definition combines the function to call
2424
along with the arguments to parse.
2525
2626
The `cmd` represents the body of our application.
2727
28-
Try to parse the command-line and call "greeter" if successful. If not,
29-
prints formatted help-text and returns a non-zero exit code.
28+
Try to parse the command line and call "greeter" if successful. If not,
29+
it prints formatted help-text and returns a non-zero exit code.
3030
*)
3131
open Cmdliner
3232

0 commit comments

Comments
 (0)