• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/gperf-3.0.4/lib/

Lines Matching refs:option

12    (at your option) any later version.
106 When `getopt' finds an option that takes an argument,
109 each non-option ARGV-element is returned here. */
120 non-option elements that the caller should itself scan.
134 /* The next char to be scanned in the option-element
135 in which the last option character we returned was found.
148 /* Set to an option character which was unrecognized.
154 /* Describe how to deal with options that follow non-option ARGV-elements.
161 stop option processing when the first non-option is seen.
165 of the list of option characters.
172 RETURN_IN_ORDER is an option available to programs that were written
174 the ordering of the two. We describe each non-option ARGV-element
175 as if it were the argument of an option with character code 1.
176 Using `-' as the first character of the list of option characters
179 The special argument `--' forces an end of option-scanning regardless
391 non-option ARGV-elements is empty. */
450 /* Scan elements of ARGV (whose length is ARGC) for option characters
454 then it is an option element. The characters of this element
455 (aside from the initial '-') are option characters. If `getopt'
456 is called repeatedly, it returns successively each of the option characters
457 from each of the option elements.
459 If `getopt' finds another option character, it returns that character,
461 resume the scan with the following option character or ARGV-element.
463 If there are no more option characters, `getopt' returns -1.
465 that is not an option. (The ARGV-elements have been permuted
468 OPTSTRING is a string containing the legitimate option characters.
469 If an option character is seen that is not listed in OPTSTRING,
475 ARGV-element, is returned in `optarg'. Two colons mean an option that
480 handling the non-option ARGV-elements.
485 or is an exact match for some defined option. If they have an
486 argument, it follows the option name in the same ARGV-element, separated
487 from the option name by a `=', or else the in next ARGV-element.
488 When `getopt' finds a long-named option, it returns 0 if that option's
489 `flag' field is nonzero, the value of the option's `val' field
496 LONGOPTS is a vector of `struct option' terminated by an
499 LONGIND returns the index in LONGOPT of the long-named option found.
500 It is only valid when a long-named option has been found by the most
511 const struct option *longopts;
525 /* Test whether ARGV[optind] points to a non-option argument.
526 Either it does not have option syntax, or there is an environment flag
527 from the shell indicating it is not an option. The later information
567 Skip it like a null option,
568 then exchange with previous non-options as if it were an option,
569 then skip everything else like a non-option. */
596 /* If we have come to a non-option and did not permute it,
607 /* We have found another option-ARGV-element.
614 /* Decode the current option-ARGV-element. */
616 /* Check whether the ARGV-element is a long option.
619 a valid short option, don't consider it an abbreviated form of
620 a long option that starts with f. Otherwise there would be no
621 way to give the -f short option.
623 On the other hand, if there's a long option "fubar" and
625 the long option, just like "--fu", and not "-f" with arg "u".
634 const struct option *p;
635 const struct option *pfound = NULL;
672 fprintf (stderr, _("%s: option `%s' is ambiguous\n"),
694 /* --option */
696 _("%s: option `--%s' doesn't allow an argument\n"),
699 /* +option or -option */
701 _("%s: option `%c%s' doesn't allow an argument\n"),
718 _("%s: option `%s' requires an argument\n"),
736 /* Can't find it as a long option. If this is not getopt_long_only,
737 or the option starts with '--' or is not a valid short
738 option, then it's an error.
739 Otherwise interpret it as a short option. */
746 /* --option */
747 fprintf (stderr, _("%s: unrecognized option `--%s'\n"),
750 /* +option or -option */
751 fprintf (stderr, _("%s: unrecognized option `%c%s'\n"),
761 /* Look at and handle the next short option-character. */
777 fprintf (stderr, _("%s: illegal option -- %c\n"),
780 fprintf (stderr, _("%s: invalid option -- %c\n"),
786 /* Convenience. Treat POSIX -W foo same as long option --foo */
790 const struct option *p;
791 const struct option *pfound = NULL;
797 /* This is an option that requires an argument. */
810 fprintf (stderr, _("%s: option requires an argument -- %c\n"),
857 fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"),
876 %s: option `-W %s' doesn't allow an argument\n"),
891 _("%s: option `%s' requires an argument\n"),
914 /* This is an option that accepts an argument optionally. */
926 /* This is an option that requires an argument. */
940 _("%s: option requires an argument -- %c\n"),
967 (const struct option *) 0,
1011 printf ("option %c\n", c);
1015 printf ("option a\n");
1019 printf ("option b\n");
1023 printf ("option c with value `%s'\n", optarg);
1036 printf ("non-option ARGV-elements: ");