java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java
branchv_0
changeset 155 eb3676c6929b
parent 149 6a6f7b384591
child 166 5488c2dcf680
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java	Fri Jan 10 20:13:16 2014 +0100
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java	Fri Jan 10 23:21:28 2014 +0100
     1.3 @@ -45,6 +45,7 @@
     1.4  import javax.xml.bind.Unmarshaller;
     1.5  
     1.6  /**
     1.7 + * Entry point of the command line interface of SQL-DK.
     1.8   *
     1.9   * @author Ing. František Kučera (frantovo.cz)
    1.10   */
    1.11 @@ -53,6 +54,7 @@
    1.12  	// help:exit-codes
    1.13  	public static final int EXIT_SUCCESS = 0; // doc:success
    1.14  	public static final int EXIT_UNEXPECTED_ERROR = 1; // doc:unexpected error (probably bug)
    1.15 +	// 2 is reserved: http://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF
    1.16  	public static final int EXIT_SQL_ERROR = 3; // doc:SQL error
    1.17  	public static final int EXIT_CLI_PARSE_ERROR = 4; // doc:CLI options parse error
    1.18  	public static final int EXIT_CLI_VALIDATE_ERROR = 5; // doc:CLI options validation error