New command and -as mkisofs option -genisoimage_completion
This commit is contained in:
@ -1680,6 +1680,25 @@ int Xorriso_option_fs(struct XorrisO *xorriso, char *size, int flag)
|
||||
}
|
||||
|
||||
|
||||
/* Command -genisoimage_completion */
|
||||
int Xorriso_option_genisoimage_completion(struct XorrisO *xorriso,
|
||||
char *mode, int flag)
|
||||
{
|
||||
if(strcmp(mode, "on") == 0) {
|
||||
xorriso->genisoimage_completion= 1;
|
||||
} else if(strcmp(mode, "off") == 0) {
|
||||
xorriso->genisoimage_completion= 0;
|
||||
} else {
|
||||
sprintf(xorriso->info_text, "-genisoimage_completion: unknown mode '%s'",
|
||||
mode);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
return(0);
|
||||
}
|
||||
return(1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* Commands -getfacl alias -getfacli, -getfacl_r alias -getfacl_ri
|
||||
-getfattr alias getfattri
|
||||
*/
|
||||
@ -2516,6 +2535,8 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
|
||||
" For a list of options see -as mkisofs -help.",
|
||||
" -read_mkisofsrc",
|
||||
" Read and interpret the .mkisofsrc configuration file.",
|
||||
" -genisoimage_completion \"on\"|\"off\"",
|
||||
" Enable completion of genisoimage options during -as mkisofs.",
|
||||
" -as cdrecord [-help|-v|dev=|speed=|blank=|fs=|-eject|-atip|padsize=|-multi]",
|
||||
" path|-",
|
||||
" Perform some cdrecord gestures, eventually write at most one",
|
||||
|
Reference in New Issue
Block a user