small fixes, error handling

This commit is contained in:
Honfika
2013-11-13 20:48:53 +01:00
parent 3af6b0f535
commit 19525c8fc7
7 changed files with 18 additions and 5 deletions

View File

@@ -224,7 +224,7 @@ public class CommandLineArgumentParser {
if (key.toLowerCase().equals(item.getName().toLowerCase())) {
Boolean bValue = parseBooleanConfigValue(value);
if (bValue != null) {
System.out.println("Config " + item + " set to " + bValue);
System.out.println("Config " + item.getName() + " set to " + bValue);
item.set(bValue);
}
}