commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Larsson (JIRA)" <j...@apache.org>
Subject [jira] Created: (CLI-197) boolean option in documentation is woorking oposite way documented
Date Tue, 30 Mar 2010 19:46:27 GMT
boolean option in documentation is woorking oposite way documented
------------------------------------------------------------------

                 Key: CLI-197
                 URL: https://issues.apache.org/jira/browse/CLI-197
             Project: Commons CLI
          Issue Type: Bug
          Components: Documentation
            Reporter: Anders Larsson
            Priority: Minor


In documentation it says as follows:

CommandLine parse(Options options,
                  String[] arguments,
                  boolean stopAtNonOption)
                  throws ParseException

        stopAtNonOption - specifies whether to continue parsing the arguments if a non option
is encountered. 


The parser stops an throws Exception if "stopAtNonOption" is set to false (when I guess it
should be other way round), if I set boolean "true", the parser ignores unknown arguments
and continues without throwing Exception.

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


Mime
View raw message