1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-05-19 11:11:31 +02:00

github : fix completion for zpool upgrade

This is done by simply adding a missing backslash to the code.

Fixes: 85bf9740a0 ("49668: update zfs completion")
Signed-off-by: Christian Heusel <christian@heusel.eu>
This commit is contained in:
Christian Heusel 2023-10-13 21:31:54 +02:00 committed by Matthew Martin
parent 20739b5458
commit 5fd8cccf54
2 changed files with 6 additions and 1 deletions
ChangeLog
Completion/Unix/Command

View file

@ -1,3 +1,8 @@
2023-10-24 Matthew Martin <phy1729@gmail.com>
* github #103: Christian Heusel: Completion/Unix/Command/_zfs: fix
completion for zpool upgrade
2023-10-16 Mikael Magnusson <mikachu@gmail.com>
* 52056: Completion/Unix/Command/_sccs: _sccs: don't handle

View file

@ -1269,7 +1269,7 @@ case $service:$words[1] in
zpool:upgrade)
_arguments -A "-*" -S \
'(- *)-v[display ZFS versions and descriptions]'
'(- *)-v[display ZFS versions and descriptions]' \
"(-v)-V+[upgrade to given version]:version" \
'(-v *)-a[upgrade all pools]' \
'(-a -v)*:pool:_zfs_pool'