summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2022-11-06 00:16:06 +0100
committerSam James <sam@gentoo.org>2023-01-14 16:38:46 +0000
commita7513c33fc3744c7664c8c6c9c3c1bb22f0b0ab9 (patch)
treead9e4e4f86ea1514f92c1af269b157527a70197b /completions
parentignore non conf files in /etc/portage/repos.conf. (diff)
downloadgentoo-bashcomp-a7513c33fc3744c7664c8c6c9c3c1bb22f0b0ab9.tar.gz
gentoo-bashcomp-a7513c33fc3744c7664c8c6c9c3c1bb22f0b0ab9.tar.bz2
gentoo-bashcomp-a7513c33fc3744c7664c8c6c9c3c1bb22f0b0ab9.zip
emerge: add support for --deselect
Signed-off-by: Louis Sautier <sautier.louis@gmail.com> Closes: https://github.com/gentoo/gentoo-bashcomp/pull/6 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'completions')
-rw-r--r--completions/emerge4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/emerge b/completions/emerge
index 03cc503..e84a7fc 100644
--- a/completions/emerge
+++ b/completions/emerge
@@ -35,7 +35,7 @@ _emerge()
# find action
for x in ${COMP_LINE} ; do
if [[ ${x} =~ ^(system|world)$ ]] || [[ ${x} =~ -[CPcs] ]] || \
- [[ ${x} =~ --(clean|config|depclean|info|metadata|prune|rage-clean|regen|resume|search|sync|unmerge) ]]
+ [[ ${x} =~ --(clean|config|depclean|deselect|info|metadata|prune|rage-clean|regen|resume|search|sync|unmerge) ]]
then
action=${x}
break
@@ -96,7 +96,7 @@ _emerge()
--ask --autounmask-write \
--buildpkg --buildpkgonly \
--changelog --clean --color=y --color=n --columns --complete-graph --config \
- --debug --deep --depclean \
+ --debug --deep --depclean --deselect \
--emptytree \
--fetch-all-uri --fetchonly \
--getbinpkg --getbinpkgonly \