Enabled use of libjte message list
This commit is contained in:
@ -1326,48 +1326,6 @@ not_enough_args:;
|
||||
if(ret<=0)
|
||||
goto problem_handler_2;
|
||||
file_mode= mode_or;
|
||||
|
||||
#ifdef NIX
|
||||
|
||||
} else if(strncmp(argv[i], "-jigdo-", 7) == 0) {
|
||||
char *jkey;
|
||||
|
||||
if(i+1>=argc)
|
||||
goto not_enough_args;
|
||||
i++;
|
||||
cpt= argv[i - 1] + 7;
|
||||
if(strcmp(cpt, "jigdo") == 0)
|
||||
jkey= "jigdo_path";
|
||||
else if(strcmp(cpt, "template") == 0)
|
||||
jkey= "template_path";
|
||||
else if(strcmp(cpt, "min-file-size") == 0)
|
||||
jkey= "min_size";
|
||||
else if(strcmp(cpt, "force-md5") == 0)
|
||||
jkey= "demand_md5";
|
||||
else if(strcmp(cpt, "exclude") == 0)
|
||||
jkey= "exclude";
|
||||
else if(strcmp(cpt, "map") == 0)
|
||||
jkey= "mapping";
|
||||
else {
|
||||
i--;
|
||||
goto is_unknown_option_2;
|
||||
}
|
||||
ret= Xorriso_jigdo_interpreter(xorriso, jkey, argv[i], 0);
|
||||
if(ret <= 0)
|
||||
goto problem_handler_2;
|
||||
} else if(strncmp(argv[i], "-md5-list", 7) == 0) {
|
||||
if(i+1>=argc)
|
||||
goto not_enough_args;
|
||||
i++;
|
||||
ret= Xorriso_jigdo_interpreter(xorriso, "md5_path", argv[i], 0);
|
||||
if(ret <= 0)
|
||||
goto problem_handler_2;
|
||||
|
||||
} else if(argv[i][0]=='-' && argv[i][1]!=0) {
|
||||
is_unknown_option_2:;
|
||||
|
||||
#else /* NIX */
|
||||
|
||||
} else if(strcmp(argv[i], "-jigdo-jigdo") == 0 ||
|
||||
strcmp(argv[i], "-jigdo-template") == 0 ||
|
||||
strcmp(argv[i], "-jigdo-min-file-size") == 0 ||
|
||||
@ -1382,11 +1340,7 @@ is_unknown_option_2:;
|
||||
ret= Xorriso_option_jigdo(xorriso, argv[i - 1], argv[i], 0);
|
||||
if(ret <= 0)
|
||||
goto problem_handler_2;
|
||||
|
||||
} else if(argv[i][0]=='-' && argv[i][1]!=0) {
|
||||
|
||||
#endif /* ! NIX */
|
||||
|
||||
ret= Xorriso_genisofs_count_args(xorriso, argc - i, argv + i, &count, 1);
|
||||
if(ret > 0) {
|
||||
sprintf(xorriso->info_text, "-as %s: Unsupported option %s",
|
||||
|
Reference in New Issue
Block a user