From 6986007b16f56f5023dce3de439c919a0e788088 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 21 Nov 2023 16:17:15 +0100 Subject: [PATCH] Set all parameters to default values other than "" --- commandline_parser.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/commandline_parser.cpp b/commandline_parser.cpp index 3d9023e..e60f71f 100644 --- a/commandline_parser.cpp +++ b/commandline_parser.cpp @@ -6,16 +6,18 @@ #include 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",