Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0-alpha-1
-
Fix Version/s: 2.2.0
-
Component/s: Command Line
-
Labels:None
-
Complexity:Intermediate
-
Testcase included:yes
-
Number of attachments :
Description
'mvn install -Uc' gives;
Unable to parse command line options: no argument for:P usage: mvn [options] [<goal(s)>] [<phase(s)>] Options: ...etc...
(same for mvn -Pc [whatever])
This is a bug in the apache commons GnuParser:
CommandLineParser parser = new GnuParser(); return parser.parse( options, cleanArgs );