Skip to content

Commit 3e419c3

Browse files
committed
pkgutil: don't suggest short options
1 parent 5f405d9 commit 3e419c3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

completions/pkgutil

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,15 @@ _pkgutil()
9898
return
9999
fi
100100

101-
local commands="-i --install -u --upgrade -r --remove -d --download -U --catalog -a --available --describe -c --compare -C --compare-diff -A --compare-avail -e --email -t --temp -x --exclude -W --workdir -P --pkgdir -R --rootpath --config -y --yes -f --force -n --nomod -N --nodeps -D --debug --trace -h --help -v --version -V --syscheck -l --list -L --listfile -F --findfile --deptree --extract -s --stream -o --output -T --target --single -p --param --parse --cleanup --catinfo"
102-
COMPREPLY=($(compgen -W "${commands}" -- $cur))
101+
local -a commands=(
102+
--install --upgrade --remove --download --catalog --available
103+
--describe --compare --compare-diff --compare-avail --email --temp
104+
--exclude --workdir --pkgdir --rootpath --config --yes --force --nomod
105+
--nodeps --debug --trace --help --version --syscheck --list --listfile
106+
--findfile --deptree --extract --stream --output --target --single
107+
--param --parse --cleanup --catinfo
108+
)
109+
COMPREPLY=($(compgen -W '${commands[@]}' -- $cur))
103110

104111
} &&
105112
complete -F _pkgutil pkgutil

0 commit comments

Comments
 (0)