Compare commits
No commits in common. "e20ed57bd501c3b0aa22ccf30ba55623c4d9b2da" and "59d6c49cb21bfe8fa763af350ad5d5bc925bfac6" have entirely different histories.
e20ed57bd5
...
59d6c49cb2
@ -62,9 +62,8 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
||||
# 1.3.16: Bug fixes found during testing.
|
||||
# 1.3.17: Add ATBUpdateTool.ini and custom command line parser. Settings
|
||||
# given in ATBUpdateTool.ini can be overwritten on the command-line.
|
||||
VERSION="1.3.18"
|
||||
# 1.3.18: Bug fixes found during testing.
|
||||
VERSION="1.3.19"
|
||||
# 1.3.19: Bug fixes found during testing.
|
||||
|
||||
# PLANNED TODOS:
|
||||
# 1: Das Repository wird repariert bwz. neu geklont. Unabhaengig vom WAIT.
|
||||
|
@ -6,18 +6,16 @@
|
||||
#include <QFile>
|
||||
|
||||
CommandLineParser::CommandLineParser()
|
||||
: m_repositoryUrl("https://git.mimbach49.de/GerhardHoffmann")
|
||||
, m_plugInDir("/usr/lib/")
|
||||
, m_plugInName("libCAslave.so")
|
||||
, m_workingDir("/opt/app/tools/atbupdate/")
|
||||
, m_dryRun("false")
|
||||
, m_noUpdatePsaHardware("false")
|
||||
, m_showYoctoVersion("false")
|
||||
, m_showYoctoInstallStatus("false")
|
||||
, m_showExtendedVersion("false")
|
||||
, m_iniFileName("ATBUpdateTool.ini")
|
||||
, m_alwaysDownloadConfig("false")
|
||||
, m_alwaysDownloadDC("false")
|
||||
: m_repositoryUrl("")
|
||||
, m_plugInDir("")
|
||||
, m_plugInName("")
|
||||
, m_workingDir("")
|
||||
, m_dryRun("")
|
||||
, m_noUpdatePsaHardware("")
|
||||
, m_showYoctoVersion("")
|
||||
, m_showYoctoInstallStatus("")
|
||||
, m_showExtendedVersion("")
|
||||
, m_iniFileName("")
|
||||
, m_repositoryUrlOption(
|
||||
QCommandLineOption(
|
||||
QStringList() << "repository-url" << "repository-url",
|
||||
|
5
main.cpp
5
main.cpp
@ -74,7 +74,6 @@ int main(int argc, char *argv[]) {
|
||||
QString plugInDir = parser.plugInDir();
|
||||
QString plugInName = parser.plugInName();
|
||||
QString workingDir = parser.workingDir();
|
||||
QString iniFileName = parser.iniFileName();
|
||||
bool const dryRun = parser.dryRun();
|
||||
bool const noUpdatePsaHardware = parser.noUpdatePsaHardware();
|
||||
bool const showYoctoVersion = parser.yoctoVersion();
|
||||
@ -94,10 +93,6 @@ int main(int argc, char *argv[]) {
|
||||
qInfo() << "noUpdatePsaHardware ......" << noUpdatePsaHardware;
|
||||
qInfo() << "alwaysDownloadConfig ....." << alwaysDownloadConfig;
|
||||
qInfo() << "alwaysDownloadDC ........." << alwaysDownloadDC;
|
||||
qInfo() << "showYoctoVersion ........." << showYoctoVersion;
|
||||
qInfo() << "showYoctoInstallStatus ..." << showYoctoInstallStatus;
|
||||
qInfo() << "showExtendedVersion ......" << showExtendedVersion;
|
||||
qInfo() << "iniFileName .............." << iniFileName;
|
||||
qInfo() << "extended-version ........." << APP_EXTENDED_VERSION;
|
||||
|
||||
if (showExtendedVersion) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user