New -alter_date types: a-c , m-c , b-c , c
This commit is contained in:
@ -2675,12 +2675,21 @@ int Xorriso_convert_datestring(struct XorrisO *xorriso, char *cmd,
|
||||
{
|
||||
int ret;
|
||||
|
||||
*t_type= 0;
|
||||
if(strcmp(time_type, "a")==0)
|
||||
(*t_type)|= 1;
|
||||
else if(strcmp(time_type, "a-c")==0)
|
||||
(*t_type)|= 1 | 256;
|
||||
else if(strcmp(time_type, "m")==0)
|
||||
(*t_type)|= 4;
|
||||
else if(strcmp(time_type, "m-c")==0)
|
||||
(*t_type)|= 4 | 256;
|
||||
else if(strcmp(time_type, "b")==0)
|
||||
(*t_type)|= 5;
|
||||
else if(strcmp(time_type, "b-c")==0)
|
||||
(*t_type)|= 5 | 256;
|
||||
else if(strcmp(time_type, "c")==0)
|
||||
(*t_type)|= 2 | 256;
|
||||
else {
|
||||
sprintf(xorriso->info_text, "%s: Unrecognized type '%s'", cmd, time_type);
|
||||
if(!(flag & 1))
|
||||
|
Reference in New Issue
Block a user