diff -r cde9bb07ea0a -r 463ce61415f1 src/CLIParser.h --- a/src/CLIParser.h Thu Oct 08 17:23:07 2020 +0200 +++ b/src/CLIParser.h Sun Oct 11 17:13:02 2020 +0200 @@ -56,6 +56,7 @@ static const relpipe::common::type::StringX OPTION_REQUIRED_CONNECTIONS; static const relpipe::common::type::StringX OPTION_LIST_PORTS; static const relpipe::common::type::StringX OPTION_LIST_CONNECTIONS; + static const relpipe::common::type::StringX OPTION_LIST_PROPERTIES; static const relpipe::common::type::StringX OPTION_LIST_MIDI_MESSAGES; Configuration parse(const std::vector& arguments) { @@ -78,6 +79,8 @@ c.listPorts = parseBoolean(readNext(arguments, i)); } else if (option == OPTION_LIST_CONNECTIONS) { c.listConnections = parseBoolean(readNext(arguments, i)); + } else if (option == OPTION_LIST_PROPERTIES) { + c.listProperties = parseBoolean(readNext(arguments, i)); } else if (option == OPTION_LIST_MIDI_MESSAGES) { c.listMidiMessages = parseBoolean(readNext(arguments, i)); } else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS); @@ -98,6 +101,7 @@ const relpipe::common::type::StringX CLIParser::OPTION_REQUIRED_CONNECTIONS = L"--required-connections"; const relpipe::common::type::StringX CLIParser::OPTION_LIST_PORTS = L"--list-ports"; const relpipe::common::type::StringX CLIParser::OPTION_LIST_CONNECTIONS = L"--list-connections"; +const relpipe::common::type::StringX CLIParser::OPTION_LIST_PROPERTIES = L"--list-properties"; const relpipe::common::type::StringX CLIParser::OPTION_LIST_MIDI_MESSAGES = L"--list-midi-messages"; }