equal
deleted
inserted
replaced
44 * |
44 * |
45 * @author Ing. František Kučera (frantovo.cz) |
45 * @author Ing. František Kučera (frantovo.cz) |
46 */ |
46 */ |
47 public class CLIStarter implements ConfigurationProvider { |
47 public class CLIStarter implements ConfigurationProvider { |
48 |
48 |
|
49 // help:exit-codes |
49 public static final int EXIT_SUCCESS = 0; // doc:success |
50 public static final int EXIT_SUCCESS = 0; // doc:success |
50 public static final int EXIT_UNEXPECTED_ERROR = 1; // doc:unexpected error (probably bug) |
51 public static final int EXIT_UNEXPECTED_ERROR = 1; // doc:unexpected error (probably bug) |
51 public static final int EXIT_SQL_ERROR = 3; // doc:SQL error |
52 public static final int EXIT_SQL_ERROR = 3; // doc:SQL error |
52 public static final int EXIT_CLI_PARSE_ERROR = 4; // doc:CLI options parse error |
53 public static final int EXIT_CLI_PARSE_ERROR = 4; // doc:CLI options parse error |
53 public static final int EXIT_CLI_VALIDATE_ERROR = 5; // doc:CLI options validation error |
54 public static final int EXIT_CLI_VALIDATE_ERROR = 5; // doc:CLI options validation error |