File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ Simple getopt alternative.
4
4
Construct a vector of options, either by using reqopt, optopt, and optflag or
5
5
by building them from components yourself, and pass them to getopts, along
6
6
with a vector of actual arguments (not including argv[0]). You'll either get a
7
- failure code back, or a match. You'll have to verify whether the amount of
7
+ failure code back, or a match. You'll have to verify whether the amount of
8
8
'free' arguments in the match is what you expect. Use opt_* accessors to get
9
9
argument values out of the match object.
10
10
11
11
Single-character options are expected to appear on the command line with a
12
- single preceeding dash; multiple-character options are expected to be
12
+ single preceding dash; multiple-character options are expected to be
13
13
proceeded by two dashes. Options that expect an argument accept their argument
14
14
following either a space or an equals sign.
15
15
You can’t perform that action at this time.
0 commit comments