+@c -*-texinfo-*-
+@c This is part of the GNU Guile Reference Manual.
+@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004
+@c Free Software Foundation, Inc.
+@c See the file guile.texi for copying conditions.
+
@page
@node Command Line Handling
@chapter Handling Command Line Options and Arguments
@node getopt-long Reference
@subsection Reference Documentation for @code{getopt-long}
-@deffn procedure getopt-long args grammar
+@deffn {Scheme Procedure} getopt-long args grammar
Parse the command line given in @var{args} (which must be a list of
strings) according to the option specification @var{grammar}.
@node option-ref Reference
@subsection Reference Documentation for @code{option-ref}
-@deffn procedure option-ref options key default
+@deffn {Scheme Procedure} option-ref options key default
Search @var{options} for a command line option named @var{key} and
return its value, if found. If the option has no value, but was given,
return @code{#t}. If the option was not given, return @var{default}.