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