Supporting -as mkisofs -chrp-boot as alias of -chrp-boot-part

This commit is contained in:
Thomas Schmitt 2014-10-03 18:08:03 +00:00
parent 6153e3c95b
commit 5a3d6ef153
2 changed files with 4 additions and 2 deletions

View File

@ -864,6 +864,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" -efi-boot-part DISKFILE|--efi-boot-image",
" Set data source for EFI System Partition",
" -chrp-boot-part Mark ISO image size by MBR partition type 0x96",
" -chrp-boot Alias of -chrp-boot-part",
" -prep-boot-part DISKFILE Set data source for MBR partition type 0x41",
" -append_partition NUMBER TYPE FILE",
" Append FILE after image. TYPE is hex: 0x..",
@ -1930,7 +1931,8 @@ not_enough_args:;
if(ret <= 0)
goto problem_handler_2;
} else if(strcmp(argpt, "-chrp-boot-part") == 0) {
} else if(strcmp(argpt, "-chrp-boot-part") == 0 ||
strcmp(argpt, "-chrp-boot") == 0) {
ret= Xorriso_option_boot_image(xorriso, "any", "chrp_boot_part=on", 0);
if(ret <= 0)
goto problem_handler_2;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2014.09.30.181738"
#define Xorriso_timestamP "2014.10.03.180649"