Do not print usage on command error

On error, a message is printed. If we print usage afterwards, it's easy
to miss it.
This commit is contained in:
Romain Vimont 2018-02-14 19:01:26 +01:00
parent 8697659890
commit c6c17af840

View file

@ -238,7 +238,6 @@ int main(int argc, char *argv[]) {
.bit_rate = DEFAULT_BIT_RATE, .bit_rate = DEFAULT_BIT_RATE,
}; };
if (!parse_args(&args, argc, argv)) { if (!parse_args(&args, argc, argv)) {
usage(argv[0]);
return 1; return 1;
} }