# HG changeset patch # User František Kučera # Date 1547727186 -3600 # Node ID b1e861523740384f549cd5260147f6382a6739b0 # Parent dca712844ba9d2253458a142c9425426a6d5c329 add BAD_CLI_ARGUMENTS exit code diff -r dca712844ba9 -r b1e861523740 include/relpipe/cli/CLI.h --- a/include/relpipe/cli/CLI.h Sun Jan 06 16:25:50 2019 +0100 +++ b/include/relpipe/cli/CLI.h Thu Jan 17 13:13:06 2019 +0100 @@ -69,6 +69,7 @@ static const int EXIT_CODE_BAD_SYNTAX = 3; static const int EXIT_CODE_UNKNOWN_COMMAND = 4; static const int EXIT_CODE_DATA_ERROR = 5; + static const int EXIT_CODE_BAD_CLI_ARGUMENTS = 6; /** * std::cin and std::cout are "tied" by default i.e. reading from std::cin causes flush of the std::cout.