Letting -as mkisofs -gui cause a higher frequency of pacifier messages

This commit is contained in:
2013-06-02 11:27:44 +00:00
parent 2faa115fe3
commit 141839db0f
5 changed files with 48 additions and 25 deletions

View File

@ -676,7 +676,7 @@ int Xorriso_genisofs_ignore(struct XorrisO *xorriso, char *whom,
"-L", "-no-bak", "-no-cache-inodes",
"-no-split-symlink-components", "-no-split-symlink-fields", "-nobak",
"-force-rr", "-T",
"-no-iso-translate", "-gui",
"-no-iso-translate",
""
};
static char ignored_arg1_options[][41]= {
@ -774,6 +774,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" --quoted_path_list FILE File with list of quoted pathnames to process",
" -print-size Print estimated filesystem size and exit",
" -quiet Run quietly",
" -gui Switch behaviour for GUI",
" -R, -rock Generate Rock Ridge directory information",
" -r, -rational-rock Generate rationalized Rock Ridge directory information",
" --norock Disable Rock Ridge. (Strongly discouraged !)",
@ -1412,6 +1413,8 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
xorriso->no_emul_toc|= 1;
} else if(strcmp(argpt, "-log-file") == 0) {
/* already handled before this loop */;
} else if(strcmp(argpt, "-gui") == 0) {
xorriso->pacifier_interval= 0.25;
} else {
if(argv[i][0] == '-') {
ret= Xorriso_genisofs_fused_options(xorriso, whom, argv[i] + 1,
@ -2037,6 +2040,9 @@ rr_reloc_dir:;
} else if(strcmp(argpt, "-log-file") == 0) {
/* was already handled before this loop */;
} else if(strcmp(argpt, "-gui") == 0) {
/* was already handled in first argument scan */;
} else if(argpt[0]=='-' && argpt[1]!=0) {
ret= Xorriso_genisofs_fused_options(xorriso, whom, argv[i] + 1,
&option_d, &iso_level, &lower_r, ra_text, 1);