We don't want to fail with
option_foo = 0
when
option_foo=0
works.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
*ret = '\0';
ret = (char *) opt;
(*post)++;
*ret = '\0';
ret = (char *) opt;
(*post)++;
o = find_option(options, ret);
} else {
o = find_option(options, opt);
o = find_option(options, ret);
} else {
o = find_option(options, opt);
o = find_option(options, opt);
if (!o) {
o = find_option(options, opt);
if (!o) {
- fprintf(stderr, "Bad option %s\n", opt);
+ fprintf(stderr, "Bad option <%s>\n", opt);
o = get_option(tmp, options, &post);
if (!o) {
o = get_option(tmp, options, &post);
if (!o) {
- fprintf(stderr, "Bad option %s\n", tmp);
+ fprintf(stderr, "Bad option <%s>\n", tmp);