From: Zac Medico Date: Sun, 22 Jul 2007 06:48:32 +0000 (-0000) Subject: Make --update imply --oneshot since people often us it to update things when they... X-Git-Tag: v2.1.3~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6193d9f9c4457e61c43c71f5838baf656217ae01;p=portage.git Make --update imply --oneshot since people often us it to update things when they don't want to add them to world. Thanks to jakub for the suggestion. (trunk r7349) svn path=/main/branches/2.1.2/; revision=7350 --- diff --git a/bin/emerge b/bin/emerge index 84cd16a5d..988580c43 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1650,7 +1650,9 @@ class depgraph: greedy_atoms.append((myarg, myslot_atom)) arg_atoms = greedy_atoms - oneshot = "--oneshot" in self.myopts or "--onlydeps" in self.myopts + oneshot = "--oneshot" in self.myopts or \ + "--onlydeps" in self.myopts or \ + "--update" in self.myopts """ These are used inside self.create() in order to ensure packages that happen to match arguments are not incorrectly marked as nomerge.""" args_set = self._sets["args"]