Set all parameters to default values other than ""

This commit is contained in:
Gerhard Hoffmann 2023-11-21 16:17:15 +01:00
parent 9ecdf73bc0
commit 6986007b16

View File

@ -6,16 +6,18 @@
#include <QFile>
CommandLineParser::CommandLineParser()
: m_repositoryUrl("")
, m_plugInDir("")
, m_plugInName("")
, m_workingDir("")
, m_dryRun("")
, m_noUpdatePsaHardware("")
, m_showYoctoVersion("")
, m_showYoctoInstallStatus("")
, m_showExtendedVersion("")
, m_iniFileName("")
: 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_repositoryUrlOption(
QCommandLineOption(
QStringList() << "repository-url" << "repository-url",