Add commandline arguments, implement --config, --version, --help

This commit is contained in:
Lion Kortlepel committed 2021-11-26 19:04:21 +01:00
1 parent 938774618c
commit eae27633db
9 files changed
+266 -35

No files matched your search

+2 -1
View File
@@ -8,7 +8,7 @@ namespace fs = std::filesystem;
class TConfig {
public:
explicit TConfig();
explicit TConfig(const std::string& ConfigFileName);
[[nodiscard]] bool Failed() const { return mFailed; }
@@ -22,4 +22,5 @@ private:
void ParseOldFormat();
bool mFailed { false };
std::string mConfigFileName;
};