version 1.2, 1996/09/21 06:06:40 |
version 1.3, 1999/03/05 18:44:02 |
|
|
} |
} |
#endif |
#endif |
#define isoptstring(s) (((s)[0] == '-' || (s)[0] == '+') && (s)[1] != '\0') |
#define isoptstring(s) (((s)[0] == '-' || (s)[0] == '+') && (s)[1] != '\0') |
while (--argc > 0 && (isoptstring(argv[0]) || isoptpending())) |
while (--argc > 0 && (isoptstring(argv[0]) || isoptpending())) { |
|
if (strcmp(argv[0], "--") == 0) { |
|
argv++; |
|
argc--; |
|
break; |
|
} |
scan_option(*argv++); |
scan_option(*argv++); |
|
} |
#undef isoptstring |
#undef isoptstring |
|
|
if (isoptpending()) |
if (isoptpending()) |