version 1.75, 2015/06/04 14:29:33 |
version 1.76, 2015/07/27 08:45:45 |
|
|
/* Find the option entry, try each table. */ |
/* Find the option entry, try each table. */ |
table = oe = NULL; |
table = oe = NULL; |
if (options_table_find(optstr, &table, &oe) != 0) { |
if (options_table_find(optstr, &table, &oe) != 0) { |
cmdq_error(cmdq, "ambiguous option: %s", optstr); |
if (!args_has(args, 'q')) { |
return (CMD_RETURN_ERROR); |
cmdq_error(cmdq, "ambiguous option: %s", optstr); |
|
return (CMD_RETURN_ERROR); |
|
} |
|
return (CMD_RETURN_NORMAL); |
} |
} |
if (oe == NULL) { |
if (oe == NULL) { |
if (!args_has(args, 'q')) { |
if (!args_has(args, 'q')) { |