allow custom formatters also for JUST_SHOW_INFO commands v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Thu, 26 Dec 2013 21:48:59 +0100
branchv_0
changeset 71e5d04a68ce1e
parent 70 02c8eaa425e8
child 72 fc9fc1f26b88
allow custom formatters also for JUST_SHOW_INFO commands
java/sql-dk/src/info/globalcode/sql/dk/CLIOptions.java
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/CLIOptions.java	Thu Dec 26 21:47:33 2013 +0100
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/CLIOptions.java	Thu Dec 26 21:48:59 2013 +0100
     1.3 @@ -78,9 +78,6 @@
     1.4  			if (batch) {
     1.5  				e.addProblem(new InvalidOptionsException.OptionProblem("Do not specify batch if just showing info."));
     1.6  			}
     1.7 -			if (isNotEmpty(formatterName, false)) {
     1.8 -				e.addProblem(new InvalidOptionsException.OptionProblem("Do not specify formatter if just showing info."));
     1.9 -			}
    1.10  			if (!equalz(namePrefix, DEFAULT_NAME_PREFIX)) {
    1.11  				e.addProblem(new InvalidOptionsException.OptionProblem("Do not specify name prefix if just showing info."));
    1.12  			}