On Fri, Nov 16, 2007 at 10:34:58AM -0800, Joe Di Pol wrote: > Seems like "info", "list", "status" and "search" should have some > consistency here (currently "info" and "list" don't seem to work > on remote packages at all -- bug 208).
Right. > How about: > > If the fmri matches something local, only operate locally, otherwise > check the remote repositories for matching fmris. If the command does not > take an fmri (or none were passed), default to local only. I'm not happy with the idea that the command can give you different behavior depending on whether you have a package installed or not. I think this would just end up being confusing. > Also Support: > > -l Restrict to local only > -r Restrict to repositories only > -r <server> restrict to specific repository > -a Operate locally and on all repositories You can't have optional arguments, for one, and if, say, -l is the default, why have the option? I think I'd rather see -l search locally -r search remote -s <server> search specific server (implies -r) where -lr replaces your -a, and have plain -l be the default. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
