--- a/src/CLIParser.h Sat Oct 26 19:28:39 2019 +0200
+++ b/src/CLIParser.h Sat Oct 26 20:55:10 2019 +0200
@@ -52,7 +52,7 @@
static const string_t OPTION_COPY;
static const string_t OPTION_COPY_RENAMED;
static const string_t OPTION_FILE;
- static const string_t OPTION_KEEP_FILE;
+ static const string_t OPTION_FILE_KEEP;
Configuration parse(const std::vector<string_t>& arguments) {
Configuration c;
@@ -75,7 +75,7 @@
c.copyRelations.push_back({readNext(arguments, i), readNext(arguments, i), true});
} else if (option == OPTION_FILE) {
c.file = readNext(arguments, i);
- } else if (option == OPTION_KEEP_FILE) {
+ } else if (option == OPTION_FILE_KEEP) {
string_t value = readNext(arguments, i);
if (value == L"auto") c.keepFile = KeepFile::Automatic;
else if (value == L"true") c.keepFile = KeepFile::Always;
@@ -101,7 +101,7 @@
const string_t CLIParser::OPTION_COPY = L"--copy";
const string_t CLIParser::OPTION_COPY_RENAMED = L"--copy-renamed";
const string_t CLIParser::OPTION_FILE = L"--file";
-const string_t CLIParser::OPTION_KEEP_FILE = L"--keep-file";
+const string_t CLIParser::OPTION_FILE_KEEP = L"--file-keep";
}
}