1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/CLIParser.java Fri Jan 10 20:13:16 2014 +0100
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/CLIParser.java Fri Jan 10 23:21:28 2014 +0100
1.3 @@ -25,6 +25,9 @@
1.4 import java.util.Map;
1.5
1.6 /**
1.7 + * Converts command line arguments from String array to object.
1.8 + * Checks basic constraints (if only supported options are used and if they have correct number of
1.9 + * parameters)
1.10 *
1.11 * @author Ing. František Kučera (frantovo.cz)
1.12 */
1.13 @@ -127,7 +130,7 @@
1.14 break;
1.15 case Tokens.INFO_CONNECTION:
1.16 options.addShowInfo(InfoType.CONNECTION);
1.17 - options.addDatabaseNameToTest(fetchNext(args, ++i));
1.18 + options.addDatabaseNamesToTest(fetchNext(args, ++i));
1.19 break;
1.20 default:
1.21 throw new CLIParserException("Unknown option: " + arg);