From c6c17af84098372697d166ba232b090692b3e4c5 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Wed, 14 Feb 2018 19:01:26 +0100 Subject: [PATCH] Do not print usage on command error On error, a message is printed. If we print usage afterwards, it's easy to miss it. --- app/src/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main.c b/app/src/main.c index 18c9f232..c4ce7278 100644 --- a/app/src/main.c +++ b/app/src/main.c @@ -238,7 +238,6 @@ int main(int argc, char *argv[]) { .bit_rate = DEFAULT_BIT_RATE, }; if (!parse_args(&args, argc, argv)) { - usage(argv[0]); return 1; }