diff options
-rw-r--r-- | xfontsel.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -319,7 +319,14 @@ main(int argc, char **argv) } #endif - if (argc != 1) Syntax(argv[0]); + if (argc != 1) { + fputs(gettext("Unknown argument(s):"), stderr); + for (int n = 1; n < argc; n++) { + fprintf(stderr, " %s", argv[n]); + } + fputs("\n\n", stderr); + Syntax(argv[0]); + } XtAppAddActions(appCtx, xfontsel_actions, XtNumber(xfontsel_actions)); XtOverrideTranslations |