Preparations for ISO/HFS+ hybrid images by Vladimir Serbinenko
This commit is contained in:
@ -2096,6 +2096,22 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
|
||||
}
|
||||
|
||||
|
||||
/* Option -hfsplus "on"|"off" */
|
||||
int Xorriso_option_hfsplus(struct XorrisO *xorriso, char *mode, int flag)
|
||||
{
|
||||
if(strcmp(mode, "off")==0)
|
||||
xorriso->do_hfsplus= 0;
|
||||
else if(strcmp(mode, "on")==0)
|
||||
xorriso->do_hfsplus= 1;
|
||||
else {
|
||||
sprintf(xorriso->info_text, "-hfsplus: unknown mode '%s'", mode);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
||||
return(0);
|
||||
}
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
||||
/* Option -hide */
|
||||
int Xorriso_option_hide(struct XorrisO *xorriso, char *hide_state,
|
||||
int argc, char **argv, int *idx, int flag)
|
||||
|
Reference in New Issue
Block a user