David Larochette created CLI-350:
------------------------------------

             Summary: Add getOptionCount to CommandLine to measure option 
repetition
                 Key: CLI-350
                 URL: https://issues.apache.org/jira/browse/CLI-350
             Project: Commons CLI
          Issue Type: Improvement
          Components: CLI-1.x
    Affects Versions: 1.10.0
            Reporter: David Larochette


For example a verbosity level switch could be repeated :

`mycommand -vvv`

giving
{code:java}
CommandLine cmdLine = DefaultParser.parse(options, new String[] {"-vvv"});
assert cmdLine.getOptionCount("v") == 3;{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to