Bug fix: -as mkisofs -iso-level was accused to be an unknown option

This commit is contained in:
Thomas Schmitt 2008-09-26 12:10:32 +00:00
parent fdea98935a
commit 2d1d4d4b37
2 changed files with 4 additions and 6 deletions

View File

@ -8792,15 +8792,13 @@ not_enough_args:;
goto ex; goto ex;
} else if(strcmp(argv[i], "-v")==0 || strcmp(argv[i], "-quiet")==0) { } else if(strcmp(argv[i], "-v")==0 || strcmp(argv[i], "-quiet")==0) {
/* was already handled in first argument scan */; /* was already handled in first argument scan */;
} else if(strcmp(argv[i], "-iso-level")==0) {
i++;
/* was already handled in first argument scan */;
} else if(argv[i][0]=='-' && argv[i][1]!=0) { } else if(argv[i][0]=='-' && argv[i][1]!=0) {
sprintf(xorriso->info_text, "-as %s: Unknown option %s", sprintf(xorriso->info_text, "-as %s: Unknown option %s",
whom, Text_shellsafe(argv[i], sfe, 0)); whom, Text_shellsafe(argv[i], sfe, 0));
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
} else if(strcmp(argv[i], "-iso-level")==0) {
i++;
/* was already handled in first argument scan */;
} else { } else {
int zero= 0; int zero= 0;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.09.24.155424" #define Xorriso_timestamP "2008.09.26.120934"