From fd280feeccfdd24cb9f80ae11072827dc5db0b2e Mon Sep 17 00:00:00 2001 From: Zev Weiss Date: Tue, 23 Jun 2015 13:19:08 -0500 Subject: [PATCH] Fix handling of invalid command-line options. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 69a1a9d..dd27132 100644 --- a/main.c +++ b/main.c @@ -1373,7 +1373,7 @@ int main(int argc, char** argv) exit(0); default: - initerr("Unrecognized option: %c\n", opt); + usage(stderr); exit(1); } }