From 5ed26f909dd923dcd811784bc88efa46ad57bb30 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 21 Apr 2020 10:31:33 -0700 Subject: driver: Print unknown option before usage message --- driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver.c b/driver.c index bcdfccd..39fcc7b 100644 --- a/driver.c +++ b/driver.c @@ -547,7 +547,7 @@ main(int argc, char *argv[]) usage("unknown language '%s'", arg); break; default: - usage(NULL); + usage("unknown option '%s'", arg); } } } -- cgit v1.2.3