mirror of https://github.com/apache/maven.git
fix boolean args
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@345000 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fe47030632
commit
20dd3744cc
|
@ -156,7 +156,8 @@ public class SimpleArgumentParser
|
|||
|
||||
public boolean isArgumentSet( String argument )
|
||||
{
|
||||
return arguments.containsKey( argument );
|
||||
Argument arg = (Argument) arguments.get( argument );
|
||||
return arg.isSet();
|
||||
}
|
||||
|
||||
private static class Argument
|
||||
|
|
Loading…
Reference in New Issue