1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 12:32:36 +00:00

do not check if file already exists; overwrite existing

This commit is contained in:
Bret Curtis 2023-04-30 20:43:51 +02:00
parent 861c48400b
commit 9112dfd4a7

View File

@ -67,10 +67,10 @@ int wmain(int argc, wchar_t* wargv[])
app.add_option("-i, --ini", iniFile, "morrowind.ini file")->required()->check(CLI::ExistingFile);
std::filesystem::path cfgFile;
app.add_option("-c, --cfg", cfgFile, "openmw.cfg file")->required()->check(CLI::NonexistentPath);
app.add_option("-c, --cfg", cfgFile, "openmw.cfg file")->required();
std::filesystem::path outputFile = "";
app.add_option("-o,--output", outputFile, "openmw.cfg file")->default_str("")->check(CLI::NonexistentPath);
app.add_option("-o,--output", outputFile, "openmw.cfg file")->default_str("");
bool gameFiles = false;
app.add_flag("-g,--game-files", gameFiles, "import esm and esp files");