Ooops. IDEA deleted one of the command line options while auto-optimizing the code. Fixed.

This commit is contained in:
Erik C. Thauvin 2007-07-19 06:28:56 +00:00
parent 4d1995ff2c
commit 7dbc83ef1c
2 changed files with 139 additions and 100 deletions

View file

@ -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