diff --git a/mobibot.iws b/mobibot.iws index e119676..b2ea451 100644 --- a/mobibot.iws +++ b/mobibot.iws @@ -18,13 +18,7 @@ - - - - - - @@ -157,25 +151,25 @@ - + - - + + - + - - + + - + @@ -184,7 +178,43 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -193,7 +223,16 @@ - + + + + + + + + + + @@ -353,11 +392,11 @@ - + - + @@ -435,19 +474,6 @@ - + @@ -601,7 +640,7 @@ - + @@ -719,27 +758,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -747,58 +765,79 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/src/net/thauvin/erik/mobibot/Mobibot.java b/src/net/thauvin/erik/mobibot/Mobibot.java index e0a26f8..35d74ca 100644 --- a/src/net/thauvin/erik/mobibot/Mobibot.java +++ b/src/net/thauvin/erik/mobibot/Mobibot.java @@ -588,7 +588,7 @@ public class Mobibot extends PircBot options.addOption(HELP_ARG.substring(0, 1), HELP_ARG, false, "print this help message"); options.addOption(DEBUG_ARG.substring(0, 1), DEBUG_ARG, false, "print debug & logging data directly to the console"); - options.addOption(OptionBuilder.hasArg().withDescription("use alternate properties file") + options.addOption(OptionBuilder.withArgName("file").hasArg().withDescription("use alternate properties file") .withLongOpt(PROPS_ARG).create(PROPS_ARG.substring(0, 1))); // Parse the command line