commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael A. Smith" <...@apache.org>
Subject Re: [CLI] multiple args
Date Fri, 14 Jun 2002 04:18:21 GMT
On Fri, 14 Jun 2002, bob mcwhirter wrote:
> I want to allow multiple -D options, and have them anywhere
> in the command-line.
> 
> Right now, that's interp'd as
> 
> 	maven -D maven.username=werken -D maven:deploy-site
> 
> Which is wrong.
> 
> Workaround is reordering the command-line:
> 
> 	maven maven:deploy-site -D maven.username=werken
> 
> Seems like an arbitrary restriction.
> 
> Any thoughts on how to hack in multiple-instances-single-arg options
> without adding yet-another-boolean-parameter to all of the signatures?

How about an "end-of-list" marker:

maven -D macen.username=werken -- maven:deploy-site

regards,
michael


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message