java/sql-dk/src/info/globalcode/sql/dk/CLIParser.java
branchv_0
changeset 209 8dfe037b3274
parent 200 2e351d7c26c4
child 217 84bab99dda50
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/CLIParser.java	Sat Aug 15 10:44:36 2015 +0200
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/CLIParser.java	Sat Aug 15 10:47:56 2015 +0200
     1.3 @@ -126,6 +126,10 @@
     1.4  				case Tokens.INFO_FORMATTERS:
     1.5  					options.addShowInfo(InfoType.FORMATTERS);
     1.6  					break;
     1.7 +				case Tokens.INFO_FORMATTER_PROPERTIES:
     1.8 +					options.addShowInfo(InfoType.FORMATTER_PROPERTIES);
     1.9 +					options.addFormatterNameToListProperties(fetchNext(args, ++i));
    1.10 +					break;
    1.11  				case Tokens.INFO_LICENSE:
    1.12  					options.addShowInfo(InfoType.LICENSE);
    1.13  					break;
    1.14 @@ -191,6 +195,7 @@
    1.15  		public static final String INFO_JAVA_PROPERTIES = "--list-java-properties"; // bash-completion:option // help: list of Java system properties
    1.16  		public static final String INFO_ENVIRONMENT_VARIABLES = "--list-environment-variables"; // bash-completion:option // help: list of environment variables
    1.17  		public static final String INFO_FORMATTERS = "--list-formatters"; // bash-completion:option // help: print list of available formatters
    1.18 +		public static final String INFO_FORMATTER_PROPERTIES = "--list-formatter-properties"; // bash-completion:option // help: print list of available formatter properties
    1.19  		public static final String INFO_TYPES = "--list-types"; // bash-completion:option // help: print list of available data types
    1.20  		public static final String INFO_JDBC_DRIVERS = "--list-jdbc-drivers"; // bash-completion:option // help: list of available JDBC drivers
    1.21  		public static final String INFO_JDBC_PROPERTIES = "--list-jdbc-properties"; // bash-completion:option // help: list of available JDBC properties for given database