@@ -65,7 +65,6 @@ QString toString(const Split& split) {
6565
6666OptManager::OptManager ()
6767{
68- project = false ;
6968 log = false ;
7069 convert = false ;
7170 filter = false ;
@@ -100,10 +99,10 @@ void OptManager::printUsage()
10099{
101100 QString executable;
102101#if (WIN32)
103- qDebug ()<<" \n Usage:\n\n dlt-commander.exe [OPTIONS] [logfile] [projectfile] [ filterfile] [mf4file] [pcapfile]" ;
102+ qDebug ()<<" \n Usage:\n\n dlt-commander.exe [OPTIONS] [logfile] [filterfile] [mf4file] [pcapfile]" ;
104103 executable = " dlt-commander.exe" ;
105104#else
106- qDebug ()<<" \n Usage:\n\n dlt-commander [OPTIONS] [logfile] [projectfile] [ filterfile] [mf4file] [pcapfile]" ;
105+ qDebug ()<<" \n Usage:\n\n dlt-commander [OPTIONS] [logfile] [filterfile] [mf4file] [pcapfile]" ;
107106 executable = " dlt-commander" ;
108107#endif
109108
@@ -235,10 +234,6 @@ void OptManager::parse(QStringList *opt)
235234 const QString logFile = QString (" %1" ).arg (opt->at (i));
236235 logFiles += logFile;
237236 qDebug ()<< " DLT filename:" << logFile;
238- } else if (opt->at (i).endsWith (" .dlp" ) || opt->at (i).endsWith (" .DLP" )) {
239- projectFile = QString (" %1" ).arg (opt->at (i));
240- project = true ;
241- qDebug ()<< " Project filename:" << projectFile;
242237 } else if (opt->at (i).endsWith (" .dlf" ) || opt->at (i).endsWith (" .DLF" )) {
243238 filterFiles += QString (" %1" ).arg (opt->at (i));
244239 qDebug ()<< " Filter filename:" << QString (" %1" ).arg (opt->at (i));
@@ -271,7 +266,6 @@ QStringList OptManager::getLogFiles()const {return logFiles;}
271266QStringList OptManager::getFilterFiles () const {return filterFiles;}
272267QString OptManager::getConvertSourceFile () const {return convertSourceFile;}
273268QString OptManager::getConvertDestFile ()const {return convertDestFile;}
274- QString OptManager::getProjectFile () const {return projectFile;}
275269char OptManager::getDelimiter () const {return delimiter;}
276270QString OptManager::getSignature () const {return signature;}
277271
0 commit comments