--- a/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java Fri Jan 10 20:13:16 2014 +0100
+++ b/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java Fri Jan 10 23:21:28 2014 +0100
@@ -45,6 +45,7 @@
import javax.xml.bind.Unmarshaller;
/**
+ * Entry point of the command line interface of SQL-DK.
*
* @author Ing. František Kučera (frantovo.cz)
*/
@@ -53,6 +54,7 @@
// help:exit-codes
public static final int EXIT_SUCCESS = 0; // doc:success
public static final int EXIT_UNEXPECTED_ERROR = 1; // doc:unexpected error (probably bug)
+ // 2 is reserved: http://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF
public static final int EXIT_SQL_ERROR = 3; // doc:SQL error
public static final int EXIT_CLI_PARSE_ERROR = 4; // doc:CLI options parse error
public static final int EXIT_CLI_VALIDATE_ERROR = 5; // doc:CLI options validation error