Enhanced command -status to recognize -cdi
This commit is contained in:
parent
22ed5e7686
commit
e22f8b5416
@ -1443,7 +1443,11 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
|
||||
if(!(is_default && no_defaults))
|
||||
Xorriso_status_result(xorriso, filter, fp, flag & 2);
|
||||
|
||||
sprintf(line,"-cd %s\n",
|
||||
if(strncmp(filter, "-cdi", 4) == 0)
|
||||
sprintf(line,"-cdi ");
|
||||
else
|
||||
sprintf(line,"-cd ");
|
||||
sprintf(line + strlen(line),"%s\n",
|
||||
(xorriso->wdi[0] ? Text_shellsafe(xorriso->wdi,sfe,0) : "'/'"));
|
||||
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
||||
sprintf(line,"-cdx %s\n",
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2012.08.14.103138"
|
||||
#define Xorriso_timestamP "2012.08.20.084354"
|
||||
|
Loading…
Reference in New Issue
Block a user