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:
Brett Leslie Porter 2005-11-16 13:03:07 +00:00
parent fe47030632
commit 20dd3744cc
1 changed files with 2 additions and 1 deletions

View File

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