2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-11 19:21:50 +00:00

feat: add version command line arg to all executables

This commit is contained in:
Jan
2024-01-23 23:14:09 +01:00
parent 7919683748
commit 05437cfd7d
12 changed files with 136 additions and 17 deletions

View File

@@ -45,9 +45,13 @@ public:
int Run(const int argc, const char** argv)
{
if (!m_args.Parse(argc, argv))
auto shouldContinue = true;
if (!m_args.ParseArgs(argc, argv, shouldContinue))
return 1;
if (!shouldContinue)
return 0;
if (!m_args.m_build_log_file.empty())
{
fs::path p = fs::path(m_args.m_build_log_file).parent_path();