commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bob mcwhirter <...@werken.com>
Subject Re: [CLI] -D a special case?
Date Mon, 17 Jun 2002 23:30:43 GMT
> > I have no problem using CLI now to deal with my -Dname
> > or -Dname=value case.  I really think that this is something
> > that's best left up to the application.
> 
> Thats because you are using the POSIX parser.  If you use
> the GNU parser the "-Dname=value" is treated as the option.
> I could check if the second character is an option and the
> "=" character is also present in the option.  If
> so then set its value to the rest of the string.  The value
> would then be name=value.  What do you think of this?

Yah, I dunno.  I think I'd personally turn that option off and
do it my way.  Sometimes, there won't be an equals sign, if
someone is just attempting to set something to true;

	-Doptimize

If it's something I could turn off (or is off by default), then
sure, go for it. ;)

	-bob


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