diff -r ccaed729f8d3 -r e6294ba5017f src/CLIParser.h --- a/src/CLIParser.h Sun May 01 22:27:42 2022 +0200 +++ b/src/CLIParser.h Sat Jul 23 21:35:51 2022 +0200 @@ -39,7 +39,7 @@ public: - static const relpipe::common::type::StringX OPTION_ENDPOINT_URL; + static const relpipe::common::type::StringX OPTION_CONNECTION_STRING; Configuration parse(const std::vector& arguments) { Configuration c; @@ -47,8 +47,8 @@ for (int i = 0; i < arguments.size();) { relpipe::common::type::StringX option = readNext(arguments, i); - if (option == OPTION_ENDPOINT_URL) { - c.endpointUrl = readNext(arguments, i); + if (option == OPTION_CONNECTION_STRING) { + c.connectionString = readNext(arguments, i); } else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS); } @@ -59,7 +59,7 @@ } }; -const relpipe::common::type::StringX CLIParser::OPTION_ENDPOINT_URL = L"--endpoint-url"; +const relpipe::common::type::StringX CLIParser::OPTION_CONNECTION_STRING = L"--connection-string"; } }