Michael Schroeder wrote:
On Thu, Oct 30, 2008 at 05:27:03PM -0000, jkupec@svn.opensuse.org wrote:
- --from added to install command to mark packages for installation (by glob/name) from specified repos
So '--from' is like '--repo' with the difference that it does what the user expects?
Both options make sense, don't you think? But i agree --from is something that users will want much more often. (But expect bugs (i noticed one problem in PoolQuery when testing --from) and bad performance with --from, i will try to optimize it a bit next week).
(Btw, zypper's options are so messed up. I just saw that 'zypper sa' also has a completly different '--repo' option.)
'sa' is not a zypper command, it's rug's. You can get a list of all commands by just typing 'zypper'. But yes, zypper ar (addrepo) has --repo, and it serves for specifying .repo file for adding. Since the purpose of addrepo command is so much different from install or other which have --repo option, i believe there is not much room for confusion. Note that zypper makes difference between global and command-specific options. How would you like it to be, anyway? It's quite counterproductive to rant and not suggest a thing. -- cheers, jano Ján Kupec YaST team --------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 ---------------------------------------------------------------- -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org