On Fri, Aug 15, 2008 at 07:19:09PM -0500, Shawn Walker wrote:

> Multiple instances of an option are usually intended to provide multiple, 
> unique value to a program -- not to override previously specified ones.  If 
> we ever did have an option that could be specified more than once, would 
> that not confuse matters?

Maybe.  I guess it depends on the options in question.  I would expect, for
instance, that cp's -f and -i options would override each other, rather than
erroring out.  If these were --mode=force and --mode=interactive, I would
expect the same behavior.

I suppose I could be persuaded that "--readonly --readonly" should be
illegal, but it doesn't really harm anything, so my tendency is to leave it
in.

> http://cr.opensolaris.org/~swalker/pkg-2333-2/

Looks good to me.

Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to