diff options
author | Michael Forney <mforney@mforney.org> | 2020-04-21 10:31:33 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2020-04-21 10:32:52 -0700 |
commit | 5ed26f909dd923dcd811784bc88efa46ad57bb30 (patch) | |
tree | fcd57a11d4e696723c9aaae9dc4d1760b5e7767b | |
parent | 5cee758069a44bc8f656eeae054c19393b7381ee (diff) | |
download | cproc-5ed26f909dd923dcd811784bc88efa46ad57bb30.tar.xz |
driver: Print unknown option before usage message
-rw-r--r-- | driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -547,7 +547,7 @@ main(int argc, char *argv[]) usage("unknown language '%s'", arg); break; default: - usage(NULL); + usage("unknown option '%s'", arg); } } } |