diff options
-rw-r--r-- | degesch.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -13452,6 +13452,11 @@ main (int argc, char *argv[]) opt_handler_usage (&oh, stderr); exit (EXIT_FAILURE); } + if (optind != argc) + { + opt_handler_usage (&oh, stderr); + exit (EXIT_FAILURE); + } opt_handler_free (&oh); // We only need to convert to and from the terminal encoding |