Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions commander/optmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ QString toString(const Split& split) {

OptManager::OptManager()
{
project = false;
log = false;
convert = false;
filter = false;
Expand Down Expand Up @@ -100,10 +99,10 @@ void OptManager::printUsage()
{
QString executable;
#if (WIN32)
qDebug()<<"\nUsage:\n\n dlt-commander.exe [OPTIONS] [logfile] [projectfile] [filterfile] [mf4file] [pcapfile]";
qDebug()<<"\nUsage:\n\n dlt-commander.exe [OPTIONS] [logfile] [filterfile] [mf4file] [pcapfile]";
executable = " dlt-commander.exe";
#else
qDebug()<<"\nUsage:\n\n dlt-commander [OPTIONS] [logfile] [projectfile] [filterfile] [mf4file] [pcapfile]";
qDebug()<<"\nUsage:\n\n dlt-commander [OPTIONS] [logfile] [filterfile] [mf4file] [pcapfile]";
executable = " dlt-commander";
#endif

Expand Down Expand Up @@ -235,10 +234,6 @@ void OptManager::parse(QStringList *opt)
const QString logFile = QString("%1").arg(opt->at(i));
logFiles += logFile;
qDebug()<< "DLT filename:" << logFile;
} else if (opt->at(i).endsWith(".dlp") || opt->at(i).endsWith(".DLP")) {
projectFile = QString("%1").arg(opt->at(i));
project = true;
qDebug()<< "Project filename:" << projectFile;
} else if (opt->at(i).endsWith(".dlf") || opt->at(i).endsWith(".DLF")) {
filterFiles += QString("%1").arg(opt->at(i));
qDebug()<< "Filter filename:" << QString("%1").arg(opt->at(i));
Expand Down Expand Up @@ -271,7 +266,6 @@ QStringList OptManager::getLogFiles()const {return logFiles;}
QStringList OptManager::getFilterFiles() const {return filterFiles;}
QString OptManager::getConvertSourceFile() const {return convertSourceFile;}
QString OptManager::getConvertDestFile()const {return convertDestFile;}
QString OptManager::getProjectFile() const {return projectFile;}
char OptManager::getDelimiter() const {return delimiter;}
QString OptManager::getSignature() const {return signature;}

Expand Down
3 changes: 0 additions & 3 deletions commander/optmanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ class OptManager
QStringList getFilterFiles() const;
QString getConvertSourceFile() const;
QString getConvertDestFile() const;
QString getProjectFile() const;
char getDelimiter() const;
const std::optional<Split>& getSplit() const;
QString getSignature() const;
Expand All @@ -79,7 +78,6 @@ class OptManager
const QStringList &getMf4Files() const;

private:
bool project;
bool log;
bool filter;
bool convert;
Expand All @@ -94,7 +92,6 @@ class OptManager
QStringList mf4Files;
QStringList filterFiles;
QStringList prePluginCommands;
QString projectFile;
QString convertSourceFile;
QString convertDestFile;
char delimiter;
Expand Down