summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbiff.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xbiff.c b/xbiff.c
index ea96fb2..035c36b 100644
--- a/xbiff.c
+++ b/xbiff.c
@@ -120,6 +120,11 @@ main (int argc, char **argv)
toplevel = XtAppInitialize(&xtcontext, "XBiff", options, XtNumber (options),
&argc, argv, NULL, NULL, 0);
if (argc != 1) {
+ fputs("Unknown argument(s):", stderr);
+ for (int n = 1; n < argc; n++) {
+ fprintf(stderr, " %s", argv[n]);
+ }
+ fputs("\n\n", stderr);
Usage(1);
}