Shawn Walker wrote:
Tom Mueller wrote:
It would be nice if there was some symmetry between the set-policy and set-property subcommands. Currently set-property doesn't use -n and -v options for the name and value, those are just arguments. Same for unset-policy and policy.

It is intentional that there is no symmetry between set-policy and set-property, out of necessity. Namely, that properties are not publisher specific, while policies can be.

To be more specific, requiring use of the '-n' and '-v' options allows avoidance of ambiguous command-line usage and allows a user to set multiple policy values in a single command.

Using a 'key value' style of parsing would not (as far as I know) permit a sane way of setting multiple policy values using a single subcommand.

--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to