add BAD_CLI_ARGUMENTS exit code v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Thu, 17 Jan 2019 13:13:06 +0100
branchv_0
changeset 13 b1e861523740
parent 12 dca712844ba9
child 14 7c05cf642088
add BAD_CLI_ARGUMENTS exit code
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.