about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2023-10-13 21:31:54 +0200
committerMatthew Martin <phy1729@gmail.com>2023-10-24 20:39:18 -0500
commit5fd8cccf54e8bda291b8f45ca9dacfa4205a1ced (patch)
treecc2276faf24d048e2314da3302a4a48f1a1c4ac9 /Completion/Unix
parent20739b5458d19b81afafb8b7ed96476562f69f0f (diff)
downloadzsh-5fd8cccf54e8bda291b8f45ca9dacfa4205a1ced.tar.gz
zsh-5fd8cccf54e8bda291b8f45ca9dacfa4205a1ced.tar.xz
zsh-5fd8cccf54e8bda291b8f45ca9dacfa4205a1ced.zip
github #103: 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>
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_zfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_zfs b/Completion/Unix/Command/_zfs
index b1135bfa7..3265e1eb8 100644
--- a/Completion/Unix/Command/_zfs
+++ b/Completion/Unix/Command/_zfs
@@ -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'