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.

-- John

http://blogs.sun.com/jbeck
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to