Enabled -as cdrecord blank=as_needed

This commit is contained in:
Thomas Schmitt 2008-10-02 09:27:21 +00:00
parent e6d9582ad9
commit 622445f865
2 changed files with 5 additions and 2 deletions

View File

@ -8222,6 +8222,7 @@ static char blank_help[][80]= {
"\tdisk\t\tblank the entire disk",
"\tfast\t\tminimally blank the entire disk",
"\tminimal\t\tminimally blank the entire disk",
"\tas_needed\tblank or format media to make it ready for (re-)use",
"\tdeformat\t\tblank a formatted DVD-RW",
"\tdeformat_quickest\tminimally blank a formatted DVD-RW to DAO only",
"\tformat_overwrite\tformat a DVD-RW to \"Restricted Overwrite\"",
@ -8292,6 +8293,8 @@ no_volunteer:;
strcpy(blank_mode, cpt);
} else if(strcmp(cpt,"format_overwrite")==0) {
strcpy(blank_mode, "format_overwrite");
} else if(strcmp(cpt,"as_needed")==0) {
strcpy(blank_mode, "as_needed");
} else {
sprintf(xorriso->info_text,
"-as %s: blank=%s not supported. See blank=help .",
@ -9982,7 +9985,7 @@ int Xorriso_option_boot_image(struct XorrisO *xorriso, char *form,
form, treatment);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
sprintf(xorriso->info_text,
"Allowed with boot_dir= are / , /isolinux . /boot/isolinux");
"Allowed with dir= are / , /isolinux . /boot/isolinux");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "HINT", 0);
return(0);
}

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.10.02.092354"
#define Xorriso_timestamP "2008.10.02.092635"