diff options
-rw-r--r-- | miragextract.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/miragextract.c b/miragextract.c index a28797d..6884ef7 100644 --- a/miragextract.c +++ b/miragextract.c @@ -377,6 +377,11 @@ void parse_args(int argc, char **argv) { while(++argv, --argc) { if(argv[0][0] == '-') { + /* avoid confusion, I hope */ + if(argv[0][1] && argv[0][2]) { + fprintf(stderr, "%s: invalid option '%s', bundling not supported\n", self, argv[0]); + exit(1); + } char *nextarg = argv[1]; switch(argv[0][1]) { case 'L': |