add: [pibs] store target directory for storing results

master
Gerard Wagener 2019-07-15 22:41:53 +02:00
parent 2e4d1eef26
commit f24e3eb6df
1 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,10 @@ int main(int argc, char* argv[])
strncpy(pibs->filename, optarg, FILENAME_MAX);
pibs->filename[FILENAME_MAX-1] = '\0';
break;
case 'd':
strncpy((char*)&(pibs->outputfile), optarg, FILENAME_MAX);
pibs->outputfile[FILENAME_MAX-1] = '\0';
break;
}
}