Danek Duvall wrote:
On Thu, Jul 09, 2009 at 03:12:52PM -0500, Shawn Walker wrote:
In particular, I didn't want individual subcommands to be processing
and parsing this information; I felt that since it controlled the
overall behaviour of the client that it was preferable to specify it
a global level, and was easier to document, easier to explain, and
would ensure consistency.
That's a matter of code organization more than anything else, really. I
don't really feel strongly about this, but if we're going to go in this
direction, then --no-refresh should probably be global as well, and perhaps
one or two others.
I'm fine with whatever the consensus is. My feeling though was that it
was more user-friendly to accept policy overrides on the command-line
regardless of subcommand without having to maintain a list
per-subcommand on which policies were allowed, etc. and just having to
error out to the user.
Instead, the approach of "you may override or specify any policy values
you like, and if applicable, they will be used for the operation" seems
nicer.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss