mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
fix subcommand options
This commit is contained in:
@@ -102,7 +102,7 @@ public abstract class SubCommand
|
||||
public void run(Collection<String> args)
|
||||
{
|
||||
CmdLineParser parser = new CmdLineParser(this);
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
parser.parseArgument(args);
|
||||
|
||||
@@ -111,8 +111,7 @@ public class SubCommandOptionHandler extends OptionHandler<SubCommand>
|
||||
|
||||
if (desc != null)
|
||||
{
|
||||
|
||||
// owner.stopOptionParsing();
|
||||
owner.stopOptionParsing();
|
||||
setter.addValue(desc.createSubCommand());
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user