Lines Matching refs:option
7 the Free Software Foundation; either version 2, or (at your option)
41 When `getopt' finds an option that takes an argument,
44 each non-option ARGV-element is returned here. */
55 non-option elements that the caller should itself scan.
67 /* Set to an option character which was unrecognized. */
74 of `struct option' terminated by an element containing a name which is
78 no_argument (or 0) if the option does not take an argument,
79 required_argument (or 1) if the option requires an argument,
80 optional_argument (or 2) if the option takes an optional argument.
83 to the value given in the field `val' when the option is found, but
84 left unchanged if the option is not found.
86 To have a long-named option do something other than set an `int' to
88 option's `flag' field to zero and its `val' field to a nonzero
89 value (the equivalent single-letter option character, if there is
93 struct option
107 /* Names for the values of the `has_arg' field of `struct option'. */
119 Return the option character from OPTS just read. Return -1 when
121 missing arguments, `optopt' is set to the option letter, and '?' is
124 The OPTS string is a list of characters which are recognized option
135 If OPTS begins with `--', then non-option arguments are treated as
136 arguments to the option '\0'. This behavior is specific to the GNU
151 const struct option *__longopts, int *__longind);
154 const struct option *__longopts, int *__longind);
159 const struct option *__longopts, int *__longind,