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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user