author | ecalot
<ecalot> 2005-03-24 20:26:32 UTC |
committer | ecalot
<ecalot> 2005-03-24 20:26:32 UTC |
parent | 4786c6d840ed321d12c9be6ca99c9c4f229b17d9 |
PR/src/console/main.c | +3 | -1 |
diff --git a/PR/src/console/main.c b/PR/src/console/main.c index a50062d..ba50915 100644 --- a/PR/src/console/main.c +++ b/PR/src/console/main.c @@ -193,15 +193,17 @@ int main (int argc, char **argv) { else dat=datfile; /* Call PR */ - if (hasFlag(import_flag)) { /* import */ + fprintf(outputStream,PR_TEXT_TASK_COMPILE,file,dirName); result=prImportDatOpt(file,dirName,resFile,optionflag,dat,extension); } else if (hasFlag(export_flag)) { /* export */ + fprintf(outputStream,PR_TEXT_TASK_EXTRACT,file,dirName); result=prExportDatOpt(file,dirName,resFile,optionflag,dat,datAuthor,extension); } else { /* classify */ + fprintf(outputStream,PR_TEXT_TASK_CLASSIFY,file); result=prVerifyDatType(file); } printf("file: %s '%s' result=%d\n",file,dat,result);