Shrikant Dange created CLI-296:
----------------------------------

             Summary: CommandLineParser does not throw unrecognized exception 
if option starts with a prefix substring
                 Key: CLI-296
                 URL: https://issues.apache.org/jira/browse/CLI-296
             Project: Commons CLI
          Issue Type: Bug
          Components: CLI-1.x
    Affects Versions: 1.4
            Reporter: Shrikant Dange


Suppose the required option is -operation (short and long) for which required 
is set to true.

It does not throw unrecognized option exception for following inputs (which it 
should throw)

-op, -oper, operation3274y37

But throws unrecognized option exception for following inputs

-oper5, -o, -operatnn



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to