diff options
-rw-r--r-- | xmessage.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -349,6 +349,11 @@ main (int argc, char *argv[]) } message_len = len; } else { + fputs("Unknown argument(s):", stderr); + for (int n = 1; n < argc; n++) { + fprintf(stderr, " %s", argv[n]); + } + fputs("\n\n", stderr); usage(stderr); exit(1); } |