Lines Matching full:option

50 .Fa "const struct option *longopts" "int *longindex"
55 .Fa "const struct option *longopts" "int *longindex"
71 In the first way, every long option understood
72 by the program has a corresponding short option, and the option
79 This is a good way to add long option processing to an existing program
82 In the second mechanism, a long option sets a flag in the
83 .Vt option
86 .Vt option
89 the long option's argument may be specified as a single argument with
94 When a long option is processed, the call to
97 For this reason, long option processing without
102 processing with short option equivalents for some options.
112 struct option {
122 field should contain the option name without the leading double dash.
130 no argument to the option is expected
132 an argument to the option is required
134 an argument to the option may be presented
158 to the corresponding short option will make this function act just
167 option relative to
182 If an option starting with
184 does not match a long option but does match a single-character option,
185 the single-character option is returned.
190 .Vt "struct option"
198 field, which is usually just the corresponding short option.
210 if there was a missing option argument and error messages are suppressed,
212 if the user specified an unknown or ambiguous option, and
214 The default behavior when a missing option argument is encountered is to write
239 indicates that processing should be halted at the first non-option argument,
244 is to permute non-option arguments to the end of
249 indicates that all non-option arguments should be treated as if they are
257 If set, option processing stops when the first non-option is found and
272 static struct option longopts[] = {
311 .\" as first char of option string in presence of
319 .\" arguments to option '\e1'.
323 .\" and stops at the first non-option.
328 .\" within the option string (not the first character):
337 .\" within the option string matches a
345 .\" as an option flag.
363 .\" mean the preceding option takes an optional argument.
371 .\" in option string is not
391 .\" parses this as option
393 .\" option
429 .\" in option string in
448 in option string):
453 to the option name (the argument of
460 (the argument of the long option).
466 long option
468 in option string):
475 set to the unknown option.
477 treats this as an error (unknown option) and returns