Compare commits

..

No commits in common. "e20ed57bd501c3b0aa22ccf30ba55623c4d9b2da" and "59d6c49cb21bfe8fa763af350ad5d5bc925bfac6" have entirely different histories.

3 changed files with 11 additions and 19 deletions

View File

@ -62,9 +62,8 @@ DEFINES += QT_DEPRECATED_WARNINGS
# 1.3.16: Bug fixes found during testing. # 1.3.16: Bug fixes found during testing.
# 1.3.17: Add ATBUpdateTool.ini and custom command line parser. Settings # 1.3.17: Add ATBUpdateTool.ini and custom command line parser. Settings
# given in ATBUpdateTool.ini can be overwritten on the command-line. # given in ATBUpdateTool.ini can be overwritten on the command-line.
VERSION="1.3.18"
# 1.3.18: Bug fixes found during testing. # 1.3.18: Bug fixes found during testing.
VERSION="1.3.19"
# 1.3.19: Bug fixes found during testing.
# PLANNED TODOS: # PLANNED TODOS:
# 1: Das Repository wird repariert bwz. neu geklont. Unabhaengig vom WAIT. # 1: Das Repository wird repariert bwz. neu geklont. Unabhaengig vom WAIT.

View File

@ -6,18 +6,16 @@
#include <QFile> #include <QFile>
CommandLineParser::CommandLineParser() CommandLineParser::CommandLineParser()
: m_repositoryUrl("https://git.mimbach49.de/GerhardHoffmann") : m_repositoryUrl("")
, m_plugInDir("/usr/lib/") , m_plugInDir("")
, m_plugInName("libCAslave.so") , m_plugInName("")
, m_workingDir("/opt/app/tools/atbupdate/") , m_workingDir("")
, m_dryRun("false") , m_dryRun("")
, m_noUpdatePsaHardware("false") , m_noUpdatePsaHardware("")
, m_showYoctoVersion("false") , m_showYoctoVersion("")
, m_showYoctoInstallStatus("false") , m_showYoctoInstallStatus("")
, m_showExtendedVersion("false") , m_showExtendedVersion("")
, m_iniFileName("ATBUpdateTool.ini") , m_iniFileName("")
, m_alwaysDownloadConfig("false")
, m_alwaysDownloadDC("false")
, m_repositoryUrlOption( , m_repositoryUrlOption(
QCommandLineOption( QCommandLineOption(
QStringList() << "repository-url" << "repository-url", QStringList() << "repository-url" << "repository-url",

View File

@ -74,7 +74,6 @@ int main(int argc, char *argv[]) {
QString plugInDir = parser.plugInDir(); QString plugInDir = parser.plugInDir();
QString plugInName = parser.plugInName(); QString plugInName = parser.plugInName();
QString workingDir = parser.workingDir(); QString workingDir = parser.workingDir();
QString iniFileName = parser.iniFileName();
bool const dryRun = parser.dryRun(); bool const dryRun = parser.dryRun();
bool const noUpdatePsaHardware = parser.noUpdatePsaHardware(); bool const noUpdatePsaHardware = parser.noUpdatePsaHardware();
bool const showYoctoVersion = parser.yoctoVersion(); bool const showYoctoVersion = parser.yoctoVersion();
@ -94,10 +93,6 @@ int main(int argc, char *argv[]) {
qInfo() << "noUpdatePsaHardware ......" << noUpdatePsaHardware; qInfo() << "noUpdatePsaHardware ......" << noUpdatePsaHardware;
qInfo() << "alwaysDownloadConfig ....." << alwaysDownloadConfig; qInfo() << "alwaysDownloadConfig ....." << alwaysDownloadConfig;
qInfo() << "alwaysDownloadDC ........." << alwaysDownloadDC; qInfo() << "alwaysDownloadDC ........." << alwaysDownloadDC;
qInfo() << "showYoctoVersion ........." << showYoctoVersion;
qInfo() << "showYoctoInstallStatus ..." << showYoctoInstallStatus;
qInfo() << "showExtendedVersion ......" << showExtendedVersion;
qInfo() << "iniFileName .............." << iniFileName;
qInfo() << "extended-version ........." << APP_EXTENDED_VERSION; qInfo() << "extended-version ........." << APP_EXTENDED_VERSION;
if (showExtendedVersion) { if (showExtendedVersion) {