Lines Matching refs:option

60 The functions on this page provide a common set of option-parsing for
87 returns, it also helps guarantee that every command has a C<-help> option.
94 The B<OPTIONS> C<typedef> specifies an option: what type of argument
103 The B<name> is the name of the option that the user would type. Options
108 The B<retval> is the value to return if the option is found. It should be
111 The B<valtype> defines what the option's parameter must be. It should
132 The B<helpstr> is what to display when the user uses the help option,
147 Note that the B<OPT_HELP> option is explicitly listed, and the list ends with
192 Every "option" after after this should contain the parameter and
215 The opt_help() function takes a list of option definitions and prints a
219 can be used to reset the option parsing loop.
222 in a loop to fetch each option in turn. It returns -1, or B<OPT_EOF> when the
240 Within the option parsing loop, the following functions may be called.
242 The opt_flag() function returns the most recent option name
245 The opt_arg() function returns the option's argument value, if there is one.
247 The opt_unknown() function returns the unknown option.
248 In an option list, there can be at most one option with the empty string.
249 This is a "wildcard" or "unknown" option. For example, it allows an
250 option to be be taken as digest algorithm, like C<-sha1>. The function
265 field is specified for the option. This means that error-checking inside
272 such as used with the B<-informat> or similar option, and fills
291 The opt_rest() function returns a pointer to the first non-option.
304 These are handled with sets of macros that define common option names