You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2009/04/25 03:27:45 UTC

[jira] Commented: (MNG-4054) Command Line interprets bogus options

    [ http://jira.codehaus.org/browse/MNG-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174177#action_174177 ] 

Brett Porter commented on MNG-4054:
-----------------------------------

John, that does reproduce the error.

it behaved like -X OXOXOXOXOXOX, not -XOXOXOXOXOXOX (I'm guessing should say -O is an invalid option if we allow combined, or that -XOXOXOXOXOXOX is not a valid option).

Very minor anyway.

> 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