add command-line parameter "debug"

This commit is contained in:
2025-10-01 14:36:28 +02:00
parent 559298331b
commit 67eeade609
3 changed files with 26 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ class CommandLineParser : public QCommandLineParser {
QString m_alwaysDownloadDC;
QString m_readDCVersion{"false"};
QString m_dcDir{"etc/dc/"};
QString m_debug{"false"};
qint64 m_ppid;
QCommandLineOption m_repositoryUrlOption;
@@ -43,6 +44,7 @@ class CommandLineParser : public QCommandLineParser {
QCommandLineOption m_dcDirectoryOption;
QCommandLineOption m_readDCVersionOption;
QCommandLineOption m_setPPid;
QCommandLineOption m_debugOption;
QCommandLineParser m_parser;
@@ -77,5 +79,6 @@ public:
bool alwaysDownloadDC();
bool readDCVersion();
QString dcDir();
bool debug();
};
#endif // COMMAND_LINE_PARSER_H_INCLUDED