[
http://jira.codehaus.org/browse/MNG-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174332#action_174332
]
John Casey commented on MNG-4054:
---------------------------------
I've tried this with commons-cli 1.2 (latest) and it gives the same output. Any
idea how we can catch these bogus options and avoid treating them as lifecycle
phases and/or goals?
> Command Line interprets bogus options
> -------------------------------------
>
> Key: MNG-4054
> URL: http://jira.codehaus.org/browse/MNG-4054
> Project: Maven 2
> Issue Type: Bug
> Components: Command Line
> Affects Versions: 2.0.10, 2.1.0-M1, 3.0-alpha-1, 3.0-alpha-2
> Reporter: Paul Benedict
> Assignee: John Casey
> Priority: Minor
> Fix For: 2.1.1
>
>
> The command line interpreter obviously only matches against the starting
> portion of a known option.
> To execute offline, this is acceptable: mvn -outside
> To execute in debug mode, this is acceptable mvn -XOXOXOXOXOX
> You can do this with any option. Get the first couple letters right and
> you'll trigger perhaps an unintended option.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira