short commandline options are not parsed
----------------------------------------

         Key: MNG-720
         URL: http://jira.codehaus.org/browse/MNG-720
     Project: Maven 2
        Type: Bug
  Components: maven-core  
    Versions: 2.0-beta-1    
 Reporter: Kenney Westerhof
    Priority: Minor


The short commandline options displayed in the usage of m2 --help don't get 
parsed:

  m2 -npl install
  Unable to parse command line options: Unrecognized option: -n

  usage: maven [options] [goal [goal2 [goal3] ...]]


I've checked commons-cli and there's a fix for this in cvs/svn:

http://cvs.apache.org/viewcvs.cgi/jakarta-commons/cli/src/java/org/apache/commons/cli/PosixParser.java
see version 1.16 comments.

I've tried bumping commons-cli to 1.0, but this fix apparently isn't in there.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to