version 1.13, 2015/11/09 14:25:32 |
version 1.14, 2015/11/09 16:39:13 |
|
|
how_toggle &= ~OPT_NO_PROMPT; |
how_toggle &= ~OPT_NO_PROMPT; |
|
|
if (o == NULL) { |
if (o == NULL) { |
error("No such option", NULL_PARG); |
error("No such option", NULL); |
return; |
return; |
} |
} |
|
|
|
|
case OPT_SET: |
case OPT_SET: |
case OPT_UNSET: |
case OPT_UNSET: |
error("Cannot use \"-+\" or \"--\" " |
error("Cannot use \"-+\" or \"--\" " |
"for a string option", NULL_PARG); |
"for a string option", NULL); |
return; |
return; |
} |
} |
break; |
break; |
|
|
break; |
break; |
case OPT_SET: |
case OPT_SET: |
error("Can't use \"-!\" for a numeric option", |
error("Can't use \"-!\" for a numeric option", |
NULL_PARG); |
NULL); |
return; |
return; |
} |
} |
break; |
break; |
|
|
/* |
/* |
* Print the odesc message. |
* Print the odesc message. |
*/ |
*/ |
error(o->odesc[*(o->ovar)], NULL_PARG); |
error(o->odesc[*(o->ovar)], NULL); |
break; |
break; |
case NUMBER: |
case NUMBER: |
/* |
/* |