version 1.5, 2003/04/13 18:26:26 |
version 1.6, 2003/04/14 15:09:57 |
|
|
case END_OPTION_STRING: |
case END_OPTION_STRING: |
continue; |
continue; |
case '-': |
case '-': |
|
#if GNU_OPTIONS |
/* |
/* |
* "--" indicates an option name instead of a letter. |
* "--" indicates an option name instead of a letter. |
*/ |
*/ |
|
|
optname = ++s; |
optname = ++s; |
break; |
break; |
} |
} |
|
#endif |
/* |
/* |
* "-+" means set these options back to their defaults. |
* "-+" means set these options back to their defaults. |
* (They may have been set otherwise by previous |
* (They may have been set otherwise by previous |
|
|
printopt = propt(optc); |
printopt = propt(optc); |
lc = SIMPLE_IS_LOWER(optc); |
lc = SIMPLE_IS_LOWER(optc); |
o = findopt(optc); |
o = findopt(optc); |
} else |
} |
|
#if GNU_OPTIONS |
|
else |
{ |
{ |
printopt = optname; |
printopt = optname; |
lc = SIMPLE_IS_LOWER(optname[0]); |
lc = SIMPLE_IS_LOWER(optname[0]); |
|
|
o = NULL; |
o = NULL; |
} |
} |
} |
} |
|
#endif |
if (o == NULL) |
if (o == NULL) |
{ |
{ |
parg.p_string = printopt; |
parg.p_string = printopt; |