343 |
@node getopt-long Reference |
@node getopt-long Reference |
344 |
@subsection Reference Documentation for @code{getopt-long} |
@subsection Reference Documentation for @code{getopt-long} |
345 |
|
|
346 |
@deffn procedure getopt-long args grammar |
@deffn {Scheme Procedure} getopt-long args grammar |
347 |
Parse the command line given in @var{args} (which must be a list of |
Parse the command line given in @var{args} (which must be a list of |
348 |
strings) according to the option specification @var{grammar}. |
strings) according to the option specification @var{grammar}. |
349 |
|
|
416 |
@node option-ref Reference |
@node option-ref Reference |
417 |
@subsection Reference Documentation for @code{option-ref} |
@subsection Reference Documentation for @code{option-ref} |
418 |
|
|
419 |
@deffn procedure option-ref options key default |
@deffn {Scheme Procedure} option-ref options key default |
420 |
Search @var{options} for a command line option named @var{key} and |
Search @var{options} for a command line option named @var{key} and |
421 |
return its value, if found. If the option has no value, but was given, |
return its value, if found. If the option has no value, but was given, |
422 |
return @code{#t}. If the option was not given, return @var{default}. |
return @code{#t}. If the option was not given, return @var{default}. |