fix subcommand options

This commit is contained in:
Sebastian Sdorra
2011-05-20 14:14:37 +02:00
parent 938508c902
commit bad27f8e44
2 changed files with 2 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ public abstract class SubCommand
public void run(Collection<String> args)
{
CmdLineParser parser = new CmdLineParser(this);
try
{
parser.parseArgument(args);

View File

@@ -111,8 +111,7 @@ public class SubCommandOptionHandler extends OptionHandler<SubCommand>
if (desc != null)
{
// owner.stopOptionParsing();
owner.stopOptionParsing();
setter.addValue(desc.createSubCommand());
}
else