From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1478139-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 09F8B15800F
	for <garchives@archives.gentoo.org>; Tue, 17 Jan 2023 14:45:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3DA66E07C7;
	Tue, 17 Jan 2023 14:45:50 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1A9A0E07C7
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Jan 2023 14:45:50 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C8F97335CB4
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Jan 2023 14:45:48 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E64476A
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Jan 2023 14:45:46 +0000 (UTC)
From: "Vadim Misbakh-Soloviov" <mva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Vadim Misbakh-Soloviov" <mva@gentoo.org>
Message-ID: <1673966726.3afaba3c7f939d84a128b232d9d58431bc44c91a.mva@gentoo>
Subject: [gentoo-commits] proj/zsh-completion:master commit in: src/
X-VCS-Repository: proj/zsh-completion
X-VCS-Files: src/_portage
X-VCS-Directories: src/
X-VCS-Committer: mva
X-VCS-Committer-Name: Vadim Misbakh-Soloviov
X-VCS-Revision: 3afaba3c7f939d84a128b232d9d58431bc44c91a
X-VCS-Branch: master
Date: Tue, 17 Jan 2023 14:45:46 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 42dd07b5-31be-4146-8492-86e8f3ed2d80
X-Archives-Hash: 272287ec54ef3abe2fb964a436667139

commit:     3afaba3c7f939d84a128b232d9d58431bc44c91a
Author:     Gabriel Sanches <gabriel <AT> gsr <DOT> dev>
AuthorDate: Sun Jan  1 16:37:02 2023 +0000
Commit:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Tue Jan 17 14:45:26 2023 +0000
URL:        https://gitweb.gentoo.org/proj/zsh-completion.git/commit/?id=3afaba3c

Replace 'upgradeonly' with 'changed-use'

Signed-off-by: Gabriel Sanches <gabriel <AT> gsr.dev>
Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org>

 src/_portage | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/_portage b/src/_portage
index 1eba6fb..23e88fc 100644
--- a/src/_portage
+++ b/src/_portage
@@ -93,9 +93,9 @@ _emerge () {
   )
 
   all=(
-    $bopts -l --changelog --columns --deep -D --emptytree -e --newuse
+    $bopts -l --changelog --columns --deep -D --emptytree -e --newuse -N
     --noconfmem --nodeps -O --noreplace -n --oneshot -1 -o --onlydeps --tree -t
-    -u --update -U --upgradeonly --config
+    -u --update --changed-use -U --config
   )
 
   local yesno="yes/no:compadd -o nosort y n"
@@ -177,9 +177,9 @@ _emerge () {
     "($bopts)"{-B,--buildpkgonly}"[Tells emerge to only build binary packages]"
     "($nopkg_opts --emptytree -e -l --changelog --usepkgonly -K)"{-l,--changelog}"[This will show the ChangeLog]"
     "($nopkg_opts -t --tree)--columns[Displays versions in aligned format]"
-    "($nopkg_opts -D --deep --newuse -N --changed-use)"{-D,--deep}"[Consider the entire dependency tree of packages]"
-    "($nopkg_opts -D --deep --newuse -N --changed-use)"{-N,--newuse}"[Include installed packages where any USE flags have changed since compilation.]"
-    "($nopkg_opts -D --deep --newuse -N --changed-use)--changed-use[Include installed packages where enabled USE flags have changed since installation]"
+    "($nopkg_opts -D --deep --newuse -N --changed-use -U)"{-D,--deep}"[Consider the entire dependency tree of packages]"
+    "($nopkg_opts -D --deep --newuse -N --changed-use -U)"{-N,--newuse}"[Include installed packages where any USE flags have changed since compilation.]"
+    "($nopkg_opts -D --deep --newuse -N --changed-use -U)"{-U,--changed-use}"[Include installed packages where enabled USE flags have changed since installation]"
     "($nopkg_opts -e -l --changelog --emptytree)"{-e,--emptytree}"[Only consider glibc as installed packages]"
     "($all --nospinner --pretend -p)"{-i,--inject}"[Portage thinks that this package is installed]"
     "($nopkg_opts $bopts)"{-f,--fetchonly}"[Just perform fetches for all packages]"
@@ -194,7 +194,6 @@ _emerge () {
     "($nopkg_opts --onlydeps-with-rdeps)--onlydeps-with-rdeps[Include run time dependencies when --onlydeps is specified]:$yesno"
     "($nopkg_opts --columns -t --tree)"{-t,--tree}"[Show dependency tree]"
     "($nopkg_opts --update -u)"{-u,--update}"[Updates packages to the most recent version available]"
-    "($nopkg_opts --upgradeonly -U)"{-U,--upgradeonly}"[Do not update packages to a lower version]"
     "($bopts)"{-k,--usepkg}"[Tells emerge to use binary packages if available]"
     "($bopts --changelog -l)"{-K,--usepkgonly}"[Tells emerge to use binary packages only]"
     "($all)--clean[Cleans the system by removing packages]"