New option -list_formats
This commit is contained in:
@ -9036,7 +9036,9 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
|
||||
"",
|
||||
" -devices Show list of available optical drives and their addresses.",
|
||||
"",
|
||||
" -toc Show media specific table of content. (MMC, not ISO 9660)",
|
||||
" -toc Show media specific table of content (sessions).",
|
||||
"",
|
||||
" -list_formats Show media specific list of format descriptors.",
|
||||
"",
|
||||
" -print-size Print the foreseeable consumption by next -commit.",
|
||||
"",
|
||||
@ -9381,6 +9383,16 @@ int Xorriso_option_joliet(struct XorrisO *xorriso, char *mode, int flag)
|
||||
}
|
||||
|
||||
|
||||
/* Option -list_formats */
|
||||
int Xorriso_option_list_formats(struct XorrisO *xorriso, int flag)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret= Xorriso_list_formats(xorriso, 0);
|
||||
return(ret);
|
||||
}
|
||||
|
||||
|
||||
/* Option -load session|track|sbsector value */
|
||||
/* @return <=0 error , 1 success, 2 revoked by -reassure
|
||||
*/
|
||||
@ -11122,6 +11134,9 @@ next_command:;
|
||||
(*idx)++;
|
||||
ret= Xorriso_option_joliet(xorriso, arg1, 0);
|
||||
|
||||
} else if(strcmp(cmd,"list_formats")==0) {
|
||||
ret= Xorriso_option_list_formats(xorriso, 0);
|
||||
|
||||
} else if(strcmp(cmd,"load")==0) {
|
||||
(*idx)+= 2;
|
||||
ret= Xorriso_option_load(xorriso, arg1, arg2, 0);
|
||||
|
Reference in New Issue
Block a user