diff options
| author | Dan Engelbrecht <[email protected]> | 2026-01-22 12:56:08 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-01-22 12:56:08 +0100 |
| commit | a735026f7376456eba7fb55e0c70c3353ea9c25a (patch) | |
| tree | 56524229d934c4e08236598ad9abb0ba6c13bc8d /src/zenutil/include | |
| parent | fixed bad merge in CHANGELOG.md (diff) | |
| download | zen-a735026f7376456eba7fb55e0c70c3353ea9c25a.tar.xz zen-a735026f7376456eba7fb55e0c70c3353ea9c25a.zip | |
hotfix 5.7.18 (#730)
* make sure we properly convert command line args for zenserver as well
* make sure we *add* wildcards/excludes in addition to defaults
Diffstat (limited to 'src/zenutil/include')
| -rw-r--r-- | src/zenutil/include/zenutil/commandlineoptions.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/zenutil/include/zenutil/commandlineoptions.h b/src/zenutil/include/zenutil/commandlineoptions.h index d6a171242..01cceedb1 100644 --- a/src/zenutil/include/zenutil/commandlineoptions.h +++ b/src/zenutil/include/zenutil/commandlineoptions.h @@ -22,6 +22,19 @@ std::vector<char*> StripCommandlineQuotes(std::vector<std::string>& InOutArgs) std::filesystem::path StringToPath(const std::string_view& Path); std::string_view RemoveQuotes(const std::string_view& Arg); +class CommandLineConverter +{ +public: + CommandLineConverter(int& argc, char**& argv); + + int ArgC = 0; + char** ArgV = nullptr; + +private: + std::vector<std::string> Args; + std::vector<char*> RawArgs; +}; + void commandlineoptions_forcelink(); // internal } // namespace zen |