Add parsing for flags: alwaysDownLoadDC and alwaysDownloadConfig.
This commit is contained in:
parent
f387eaedea
commit
746d96ca7c
6
main.cpp
6
main.cpp
@ -79,6 +79,8 @@ int main(int argc, char *argv[]) {
|
||||
bool const showYoctoVersion = parser.yoctoVersion();
|
||||
bool const showYoctoInstallStatus = parser.yoctoInstallStatus();
|
||||
bool const showExtendedVersion = parser.extendedVersion();
|
||||
bool const alwaysDownloadConfig = parser.alwaysDownloadConfig();
|
||||
bool const alwaysDownloadDC = parser.alwaysDownloadDC();
|
||||
|
||||
QString const rtPath = QCoreApplication::applicationDirPath();
|
||||
|
||||
@ -89,6 +91,8 @@ int main(int argc, char *argv[]) {
|
||||
qInfo() << "workingDir ..............." << workingDir;
|
||||
qInfo() << "dryRun ..................." << dryRun;
|
||||
qInfo() << "noUpdatePsaHardware ......" << noUpdatePsaHardware;
|
||||
qInfo() << "alwaysDownloadConfig ....." << alwaysDownloadConfig;
|
||||
qInfo() << "alwaysDownloadDC ........." << alwaysDownloadDC;
|
||||
qInfo() << "extended-version ........." << APP_EXTENDED_VERSION;
|
||||
|
||||
if (showExtendedVersion) {
|
||||
@ -136,6 +140,8 @@ int main(int argc, char *argv[]) {
|
||||
plugInName,
|
||||
workingDir,
|
||||
noUpdatePsaHardware,
|
||||
alwaysDownloadConfig,
|
||||
alwaysDownloadDC,
|
||||
dryRun);
|
||||
|
||||
MainWindow mw(&worker);
|
||||
|
Loading…
Reference in New Issue
Block a user