# HG changeset patch # User František Kučera # Date 1572116110 -7200 # Node ID b3c07fb178be25c0c9171a27e2288a282ca6f1b3 # Parent 3c51a2c32c86507aef8bb7ec3b73e7bad8749eaa rename --keep-file to --file-keep diff -r 3c51a2c32c86 -r b3c07fb178be src/CLIParser.h --- 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& 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"; } }