Made -as mkisofs -path-list and --quoted_path_list switch pacifier mode
This commit is contained in:
parent
6acda56284
commit
c17edd608e
@ -9409,7 +9409,8 @@ no_volunteer:;
|
|||||||
xorriso->do_joliet= 1;
|
xorriso->do_joliet= 1;
|
||||||
} else if(strcmp(argv[i], "-graft-points")==0) {
|
} else if(strcmp(argv[i], "-graft-points")==0) {
|
||||||
xorriso->allow_graft_points= 1;
|
xorriso->allow_graft_points= 1;
|
||||||
} else if(strcmp(argv[i], "-path-list")==0) {
|
} else if(strcmp(argv[i], "-path-list")==0 ||
|
||||||
|
strcmp(argv[i], "--quoted_path_list")==0) {
|
||||||
if(i+1>=argc) {
|
if(i+1>=argc) {
|
||||||
not_enough_args:;
|
not_enough_args:;
|
||||||
sprintf(xorriso->info_text, "-as %s: Not enough arguments to option %s",
|
sprintf(xorriso->info_text, "-as %s: Not enough arguments to option %s",
|
||||||
@ -9418,16 +9419,12 @@ not_enough_args:;
|
|||||||
ret= 0; goto ex;
|
ret= 0; goto ex;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
ret= Xorriso_option_path_list(xorriso, argv[i], 0);
|
ret= Xorriso_option_path_list(xorriso, argv[i],
|
||||||
if(ret<=0)
|
(strcmp(argv[i-1], "--quoted_path_list")==0));
|
||||||
goto ex;
|
|
||||||
} else if(strcmp(argv[i], "--quoted_path_list")==0) {
|
|
||||||
if(i+1>=argc)
|
|
||||||
goto not_enough_args;
|
|
||||||
i++;
|
|
||||||
ret= Xorriso_option_path_list(xorriso, argv[i], 1);
|
|
||||||
if(ret<=0)
|
if(ret<=0)
|
||||||
goto ex;
|
goto ex;
|
||||||
|
was_path= 1;
|
||||||
|
xorriso->pacifier_style= 1;
|
||||||
} else if(strcmp(argv[i], "-f")==0 || strcmp(argv[i], "-follow-links")==0) {
|
} else if(strcmp(argv[i], "-f")==0 || strcmp(argv[i], "-follow-links")==0) {
|
||||||
/* was already handled in first argument scan */;
|
/* was already handled in first argument scan */;
|
||||||
} else if(strcmp(argv[i], "-pad")==0) {
|
} else if(strcmp(argv[i], "-pad")==0) {
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.10.27.142720"
|
#define Xorriso_timestamP "2008.10.30.110049"
|
||||||
|
Loading…
Reference in New Issue
Block a user