/[guile]/guile/guile-core/doc/ref/script-getopt.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/script-getopt.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by ossau, Fri Aug 24 11:58:36 2001 UTC revision 1.1.2.2 by ossau, Fri Mar 15 09:23:18 2002 UTC
# Line 343  as ordinary argument strings. Line 343  as ordinary argument strings.
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    
# Line 416  An option predicate fails. Line 416  An option predicate fails.
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}.

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26