On Wed 13 Feb 2008 at 10:31AM, John Beck wrote:
> JL> Naively I expect 'pkg list' to list packages, 'pkg info' to give
> JL> information on packages, and 'pkg status' to give status on packages.
> 
> Danek> The design center is that each of these verbs operates on a package
> Danek> argument, but performs the same action on all packages if no argument
> Danek> is given.
> 
> Danek> Thus "pkg list" lists a package.  What does that mean?  It lists
> Danek> the contents of the package (and the contents of all packages if no
> Danek> packages are specified)...
> 
> Although I follow the theory of your design center, in practice, any command
> which does the equivalent of 'find /' is not user-friendly.  Also, by way of
> contract, things like `zfs list`, `zpool list`, `zoneadm list` merely list
> the items in a set, whereas (at least for zoneadm) `info` is used to go into
> more detail about that item in the set.

I think I agree with John in this regard-- your argument is sound, but
user expectation and existing practice don't seem to match it... hmm.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to