tools/eupak: Fix CreateTask version argument
I'm dumb.
This commit is contained in:
parent
738929e14e
commit
5657cdd0af
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ namespace eupak::tasks {
|
||||||
const auto& versionStr = parser.get("--archive-version");
|
const auto& versionStr = parser.get("--archive-version");
|
||||||
|
|
||||||
if(auto opt = ParsePakVersion(versionStr); opt.has_value()) {
|
if(auto opt = ParsePakVersion(versionStr); opt.has_value()) {
|
||||||
|
currentArgs.pakVersion = *opt;
|
||||||
} else {
|
} else {
|
||||||
std::cout << "Error: Invalid version \"" << versionStr << "\"\n"
|
std::cout << "Error: Invalid version \"" << versionStr << "\"\n"
|
||||||
<< parser;
|
<< parser;
|
||||||
|
|
Loading…
Reference in a new issue