New -error_behavior "file_extraction" behavior "best_effort"
This commit is contained in:
@ -4671,7 +4671,9 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
|
||||
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
||||
is_default= (xorriso->extract_error_mode == 1);
|
||||
treatment= "keep";
|
||||
if(xorriso->extract_error_mode == 2)
|
||||
if(xorriso->extract_error_mode == 0)
|
||||
treatment= "best_effort";
|
||||
else if(xorriso->extract_error_mode == 2)
|
||||
treatment= "delete";
|
||||
sprintf(line,"-error_behavior file_extraction %s\n", treatment);
|
||||
if(!(is_default && no_defaults))
|
||||
@ -10671,7 +10673,9 @@ unknown_behavior:;
|
||||
return(0);
|
||||
}
|
||||
} else if(strcmp(occasion, "file_extraction")==0) {
|
||||
if(strcmp(behavior, "keep")==0)
|
||||
if(strcmp(behavior, "best_effort")==0)
|
||||
xorriso->extract_error_mode= 0;
|
||||
else if(strcmp(behavior, "keep")==0)
|
||||
xorriso->extract_error_mode= 1;
|
||||
else if(strcmp(behavior, "delete")==0)
|
||||
xorriso->extract_error_mode= 2;
|
||||
@ -11484,6 +11488,9 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
|
||||
" exit_value may be 0 or 32 to 63.",
|
||||
" -report_about severity Set the threshhold for events to be reported.",
|
||||
" Use -abort_on severities or: HINT, NOTE, UPDATE, DEBUG, ALL",
|
||||
" -error_behavior \"image_loading\"|\"file_extraction\" behavior",
|
||||
" Behavior \"best_effort\" is most endurant but may produce",
|
||||
" results which are correct only on the first glimpse.",
|
||||
" -dialog After all arguments are processed, enter dialog mode.",
|
||||
" In this mode you may enter searchtexts or any of the options",
|
||||
" described here. One per line.",
|
||||
|
Reference in New Issue
Block a user