add: [pibs] store target directory for storing results
parent
2e4d1eef26
commit
f24e3eb6df
|
@ -77,6 +77,10 @@ int main(int argc, char* argv[])
|
||||||
strncpy(pibs->filename, optarg, FILENAME_MAX);
|
strncpy(pibs->filename, optarg, FILENAME_MAX);
|
||||||
pibs->filename[FILENAME_MAX-1] = '\0';
|
pibs->filename[FILENAME_MAX-1] = '\0';
|
||||||
break;
|
break;
|
||||||
|
case 'd':
|
||||||
|
strncpy((char*)&(pibs->outputfile), optarg, FILENAME_MAX);
|
||||||
|
pibs->outputfile[FILENAME_MAX-1] = '\0';
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue