Boolean options should be able to take an optional argument to negate, ie. 
--foo=false
--------------------------------------------------------------------------------------

                 Key: GSHELL-70
                 URL: https://issues.apache.org/jira/browse/GSHELL-70
             Project: GShell
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Support - CLP
            Reporter: Jason Dillon
             Fix For: 1.0-alpha-2


Boolean options, like:

{code:java}
@Option(name="-f", aliases={"--foo"})
private boolean foo;
{code}

Should support negation with:

{noformat}
--foo=false
{noformat}

or:

{noformat}
-f=false
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to