diff options
-rw-r--r-- | editres.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -113,8 +113,14 @@ main(int argc, char **argv) &argc, argv, fallback_resources, NULL, ZERO); - if (argc != 1) + if (argc != 1) { + fputs("Unknown argument(s):", stderr); + for (int n = 1; n < argc; n++) { + fprintf(stderr, " %s", argv[n]); + } + fputs("\n\n", stderr); Syntax(app_con, argv[0], 1); + } SetApplicationActions(app_con); XtGetApplicationResources(global_toplevel, (XtPointer) &global_resources, |