• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptpd/pptpd-1.3.4/

Lines Matching refs:option

24    License, or (at your option) any later version.
121 When `getopt' finds an option that takes an argument,
124 each non-option ARGV-element is returned here. */
135 non-option elements that the caller should itself scan.
149 /* The next char to be scanned in the option-element
150 in which the last option character we returned was found.
163 /* Set to an option character which was unrecognized.
169 /* Describe how to deal with options that follow non-option ARGV-elements.
176 stop option processing when the first non-option is seen.
180 of the list of option characters.
187 RETURN_IN_ORDER is an option available to programs that were written
189 the ordering of the two. We describe each non-option ARGV-element
190 as if it were the argument of an option with character code 1.
191 Using `-' as the first character of the list of option characters
194 The special argument `--' forces an end of option-scanning regardless
413 non-option ARGV-elements is empty. */
472 /* Scan elements of ARGV (whose length is ARGC) for option characters
476 then it is an option element. The characters of this element
477 (aside from the initial '-') are option characters. If `getopt'
478 is called repeatedly, it returns successively each of the option characters
479 from each of the option elements.
481 If `getopt' finds another option character, it returns that character,
483 resume the scan with the following option character or ARGV-element.
485 If there are no more option characters, `getopt' returns -1.
487 that is not an option. (The ARGV-elements have been permuted
490 OPTSTRING is a string containing the legitimate option characters.
491 If an option character is seen that is not listed in OPTSTRING,
497 ARGV-element, is returned in `optarg'. Two colons mean an option that
502 handling the non-option ARGV-elements.
507 or is an exact match for some defined option. If they have an
508 argument, it follows the option name in the same ARGV-element, separated
509 from the option name by a `=', or else the in next ARGV-element.
510 When `getopt' finds a long-named option, it returns 0 if that option's
511 `flag' field is nonzero, the value of the option's `val' field
518 LONGOPTS is a vector of `struct option' terminated by an
521 LONGIND returns the index in LONGOPT of the long-named option found.
522 It is only valid when a long-named option has been found by the most
533 const struct option *longopts;
547 /* Test whether ARGV[optind] points to a non-option argument.
548 Either it does not have option syntax, or there is an environment flag
549 from the shell indicating it is not an option. The later information
589 Skip it like a null option,
590 then exchange with previous non-options as if it were an option,
591 then skip everything else like a non-option. */
618 /* If we have come to a non-option and did not permute it,
629 /* We have found another option-ARGV-element.
636 /* Decode the current option-ARGV-element. */
638 /* Check whether the ARGV-element is a long option.
641 a valid short option, don't consider it an abbreviated form of
642 a long option that starts with f. Otherwise there would be no
643 way to give the -f short option.
645 On the other hand, if there's a long option "fubar" and
647 the long option, just like "--fu", and not "-f" with arg "u".
656 const struct option *p;
657 const struct option *pfound = NULL;
694 fprintf (stderr, _("%s: option `%s' is ambiguous\n"),
717 /* --option */
719 _("%s: option `--%s' doesn't allow an argument\n"),
722 /* +option or -option */
724 _("%s: option `%c%s' doesn't allow an argument\n"),
742 _("%s: option `%s' requires an argument\n"),
760 /* Can't find it as a long option. If this is not getopt_long_only,
761 or the option starts with '--' or is not a valid short
762 option, then it's an error.
763 Otherwise interpret it as a short option. */
770 /* --option */
771 fprintf (stderr, _("%s: unrecognized option `--%s'\n"),
774 /* +option or -option */
775 fprintf (stderr, _("%s: unrecognized option `%c%s'\n"),
785 /* Look at and handle the next short option-character. */
801 fprintf (stderr, _("%s: illegal option -- %c\n"),
804 fprintf (stderr, _("%s: invalid option -- %c\n"),
810 /* Convenience. Treat POSIX -W foo same as long option --foo */
814 const struct option *p;
815 const struct option *pfound = NULL;
821 /* This is an option that requires an argument. */
834 fprintf (stderr, _("%s: option requires an argument -- %c\n"),
881 fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"),
900 %s: option `-W %s' doesn't allow an argument\n"),
915 _("%s: option `%s' requires an argument\n"),
938 /* This is an option that accepts an argument optionally. */
950 /* This is an option that requires an argument. */
964 _("%s: option requires an argument -- %c\n"),
991 (const struct option *) 0,
1035 printf ("option %c\n", c);
1039 printf ("option a\n");
1043 printf ("option b\n");
1047 printf ("option c with value `%s'\n", optarg);
1060 printf ("non-option ARGV-elements: ");