diff options
Diffstat (limited to 'xmore.c')
-rw-r--r-- | xmore.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -146,6 +146,11 @@ int main( int argc, char *argv[] ) if (argc != 2) { + fputs("Unknown argument(s):", stderr); + for (int i = 1; i < argc; i++) { + fprintf(stderr, " %s", argv[i]); + } + fputs("\n\n", stderr); printf("usage: %s [ x options ] filename\n", argv[0]); exit(EXIT_FAILURE); } |