commandline_parser: add options ...
for sshKeyFile and StrictHostKeyChecking. Set correct default values.
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
|
||||
class CommandLineParser : public QCommandLineParser {
|
||||
QString m_repositoryUrl;
|
||||
QString m_sshKeyFile;
|
||||
QString m_sshOptionStrictHostKeyChecking;
|
||||
QString m_plugInDir;
|
||||
QString m_plugInName;
|
||||
QString m_workingDir;
|
||||
@@ -25,6 +27,8 @@ class CommandLineParser : public QCommandLineParser {
|
||||
QString m_dcDir{"etc/dc/"};
|
||||
|
||||
QCommandLineOption m_repositoryUrlOption;
|
||||
QCommandLineOption m_sshKeyFileOption;
|
||||
QCommandLineOption m_sshOptionStrictHostKeyCheckingOption;
|
||||
QCommandLineOption m_iniFileDirectoryOption;
|
||||
QCommandLineOption m_iniFileNameOption;
|
||||
QCommandLineOption m_pluginDirectoryOption;
|
||||
@@ -57,6 +61,8 @@ public:
|
||||
QString const &iniFileName() const { return m_iniFileName; }
|
||||
void readSettings();
|
||||
QString repositoryUrl();
|
||||
QString sshKeyFile();
|
||||
bool sshOptionStrictHostKeyChecking();
|
||||
QString plugInDir();
|
||||
QString plugInName();
|
||||
QString workingDir();
|
||||
|
||||
Reference in New Issue
Block a user