Danek Duvall wrote: > On Mon, Oct 13, 2008 at 03:24:31PM -0500, Shawn Walker wrote: > >> I have a default value in pkg-server.xml for the content_root property; >> there isn't one for --proxy-base. >> >> So, if you look at line 363 of depot.py, you'll see that proxy_base is >> ignored if no value is specified; an error will not be raised. > > So it has the same ambiguity problem as you were allowing for > --content-root -- if another option follows it without there being an > intervening argument (even if that argument is ""), then the option is used > as the argument. > > If by "no value" you mean "empty value", that's fine, but say so.
I think I finally understand what you were saying earlier. That's an incredibly subtle difference from a user perspective. In other words: ./depot.py --proxy-base= --mirror and: ./depot.py --proxy-base --mirror ...are probably indistinguishable to most users visually, but obviously are very different functionally as you've pointed out. I've updated the man page though. Thanks, -- Shawn Walker _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
