Skip to content

Commit

Permalink
cli: Make convert -o/--output a path rather than a file name
Browse files Browse the repository at this point in the history
  • Loading branch information
JJL772 committed Aug 31, 2024
1 parent 533fa50 commit 14cb1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/action_convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ bool ActionConvert::process_file(
outFile = srcFile.parent_path() / srcFile.filename().replace_extension(".vtf");
}
else {
outFile = srcFile.parent_path() / userOutputFile;
outFile = userOutputFile;
}

auto format = ImageFormatFromUserString(formatStr.c_str());
Expand Down

0 comments on commit 14cb1ea

Please sign in to comment.