1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java Thu Dec 26 11:58:14 2013 +0100
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java Thu Dec 26 21:18:54 2013 +0100
1.3 @@ -97,8 +97,10 @@
1.4 /** Show info */
1.5 if (!options.getShowInfo().isEmpty()) {
1.6 PrintStream infoOut = mode == MODE.JUST_SHOW_INFO ? System.out : System.err;
1.7 - InfoLister infoLister = new InfoLister(infoOut, this);
1.8 - infoLister.showInfo(options);
1.9 + InfoLister infoLister = new InfoLister(infoOut, this, options);
1.10 + for (InfoLister.InfoType infoType : options.getShowInfo()) {
1.11 + infoType.showInfo(infoLister);
1.12 + }
1.13 }
1.14
1.15 switch (mode) {