Fix copy-paste-error: set working-directory
This commit is contained in:
parent
d53d72c536
commit
0fd977c399
@ -83,7 +83,7 @@ void CommandLineParser::configure() {
|
||||
m_iniFileNameOption.setDefaultValue("ATBUpdateTool.ini");
|
||||
m_parser.addOption(m_iniFileNameOption);
|
||||
|
||||
m_pluginDirectoryOption.setDefaultValue("/usr/lib");
|
||||
m_pluginDirectoryOption.setDefaultValue("/usr/lib/");
|
||||
m_parser.addOption(m_pluginDirectoryOption);
|
||||
|
||||
m_pluginNameOption.setDefaultValue("libCAslave.so");
|
||||
@ -91,7 +91,7 @@ void CommandLineParser::configure() {
|
||||
|
||||
m_parser.addOption(m_noDownloadOption);
|
||||
|
||||
m_workingDirectoryOption.setDefaultValue("/opt/app/tools/atbupdate");
|
||||
m_workingDirectoryOption.setDefaultValue("/opt/app/tools/atbupdate/");
|
||||
m_parser.addOption(m_workingDirectoryOption);
|
||||
|
||||
m_parser.addOption(m_dryRunOption);
|
||||
@ -118,7 +118,7 @@ void CommandLineParser::readSettings() {
|
||||
m_plugInDir = v.toString();
|
||||
} else
|
||||
if (key.contains("working-directory")) {
|
||||
m_plugInName = v.toString();
|
||||
m_workingDir = v.toString();
|
||||
} else
|
||||
if (key.contains("dry-run")) {
|
||||
m_dryRun = (v.toBool() ? "true" : "false");
|
||||
|
Loading…
Reference in New Issue
Block a user