@@ -66,7 +66,7 @@ getopt - An imitation of the Unix 'getopt' command line program
66
66
handled by the calling program more easily.
67
67
68
68
Cli-options can be any list of strings. Each string
69
- begging with a single '-' is interpreted as a series of
69
+ beginning with a single '-' is interpreted as a series of
70
70
short options and any beginning with '--' is interpreted
71
71
as a long option. Others are either free tokens or
72
72
parameters. Any tokens appearing after a token that is
@@ -153,11 +153,11 @@ with-cli-options - A macro that binds values passed in from the command
153
153
formed.
154
154
155
155
In addition, symbols in option-variables are boolean by
156
- default; that is, they bound to either t or nil depending on
157
- whether they are passed in on the cli . Symbols listed after
158
- ¶meters, if it is present, are are considered parameter
159
- options, that is, they are bound to the next token on the cli
160
- if the are long options or the same or the rest of the
156
+ default; that is, they are bound to either t or nil depending on
157
+ whether they are passed in on the CLI . Symbols listed after
158
+ ¶meters, if it is present, are considered parameter
159
+ options, that is, they are bound to the next token on the CLI
160
+ if they are long options or the same or the rest of the
161
161
current short option group, if they are short options. If
162
162
nothing is passed for this options (ie. if it is the last
163
163
token) it is bound to nil.
@@ -171,7 +171,7 @@ with-cli-options - A macro that binds values passed in from the command
171
171
able to print out a usage summary (using print-usage-summary)
172
172
based on the options bound in option-varibles. The summary
173
173
will be printed either when an invalid option is specified or
174
- the user uses '-h' or '--help' as an option. If
174
+ when the user uses '-h' or '--help' as an option. If
175
175
enable-usage-summary is set to a string, that string is passed
176
176
as control string to print-usage-summary. Else, a generic
177
177
string is used.
@@ -195,11 +195,11 @@ print-usage-summary - Prints a usage description of the current program
195
195
196
196
prototype: (print-usage-summary description option-specs)
197
197
198
- details: Print-usage-summary print a usage summary of options specified
198
+ details: Print-usage-summary prints a summary of options specified
199
199
by options-specs.
200
200
201
201
The function takes each option-spec and generates a string
202
- describing in detail each option. The resulting strings are
202
+ describing each option in detail . The resulting strings are
203
203
passed as arguments to a call to format. Description is used
204
204
as the control string. The option-spec descriptions are auto-
205
205
aligned.
@@ -216,15 +216,15 @@ print-usage-summary - Prints a usage description of the current program
216
216
end summary
217
217
=>NIL
218
218
219
- map-parsed-options - Function that does the actual parsing of cli tokens
219
+ map-parsed-options - Function that does the actual parsing of CLI tokens
220
220
221
221
prototype: (map-parsed-options cli-options bool-options param-options
222
222
opt-val-func free-val-func)
223
223
224
224
details: Map-parsed-options is the backend function that does most
225
- of the actual work in parsing cli functions. It is exposed
225
+ of the actual work in parsing CLI functions. It is exposed
226
226
to allow more front ends in addition to getopt and
227
- with-cli-options. Map-parsed-options receives a list of cli
227
+ with-cli-options. Map-parsed-options receives a list of CLI
228
228
tokens, as well as two list of options, boolean options and
229
229
options with parameters, respectively. The final two
230
230
arguments are functions, one to handle found options and
0 commit comments