diff options
Diffstat (limited to 'viewres.c')
-rw-r--r-- | viewres.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -895,8 +895,14 @@ main(int argc, char *argv[]) Options, XtNumber(Options), &argc, argv, (String *) fallback_resources, (ArgList) 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); usage(); + } initialize_widgetnode_list(&selected_list.elements, &selected_list.max_elements, 10); |