pw-cat: don't print useless error

getopt has already printed a much better error for us.

See #2558
This commit is contained in:
Wim Taymans 2022-07-17 16:47:24 +02:00
parent 87f1979b36
commit d030983212

View file

@ -1439,9 +1439,7 @@ int main(int argc, char *argv[])
case OPT_VOLUME:
data.volume = atof(optarg);
break;
default:
fprintf(stderr, "error: unknown option '%c'\n", c);
goto error_usage;
}
}