Hi,
Please review these trivial fixes for
7169923 pkg list usage error message when combining -g and -u is wrong
7139180 pkg list -uv message could be refined
webrev :
https://cr.opensolaris.org/action/browse/pkg/saurabhv/CR-7169923-rev0/webrev/
and provide your comments........
With both fixes, idea is to provide correct msg to the user
Test run (after additional test case) is successful.
Apart ran following unit test
CR - 7169923
------------
s11u1-b16@~# pkg list -u -g http://ipkg.us.oracle.com/solaris11/dev/
pkg list: the -g and -u options may not be combined
Usage:
pkg list [-Hafnsuv] [-g path_or_uri ...] [--no-refresh]
[pkg_fmri_pattern ...]
s11u1-b16@~# pkg list -u -a
pkg list: the -a and -u options may not be combined
Usage:
pkg list [-Hafnsuv] [-g path_or_uri ...] [--no-refresh]
[pkg_fmri_pattern ...]
CR - 7139180
------------
s11u1b17@~# pkg list entire
NAME (PUBLISHER) VERSION IFO
entire 0.5.11-0.175.1.0.0.18.0 i--
s11u1b17@~# pkg list -uv
pkg: no packages have newer versions available
s11u1b17@~# pkg image-create /tmp/test-img
s11u1b17@~# pkg -R /tmp/test-img list -uv
pkg: no packages are installed
s11u1b17@~#
--
Saurabh Vyas
Solaris Install Group,
Revenue Product Engineering (RPE), Systems
ORACLE India | Off Langford Road | Bangalore | 560025
|Bangalore |
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to
developing practices and products that help protect the environment
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss