about summary refs log tree commit diff
path: root/Completion/Unix/Command/_zpool
diff options
context:
space:
mode:
authorEric Cook <llua@gmx.com>2015-10-19 16:05:01 +0200
committerOliver Kiddle <opk@zsh.org>2015-10-19 16:07:32 +0200
commit878d1272fd18da172441d058c3b6b9b60ef01da9 (patch)
treea57e91beb412d496fe714b49b119be97322d7f24 /Completion/Unix/Command/_zpool
parentd8f8d3e5340e4f61e70aef68d20a41db4445a66f (diff)
downloadzsh-878d1272fd18da172441d058c3b6b9b60ef01da9.tar.gz
zsh-878d1272fd18da172441d058c3b6b9b60ef01da9.tar.xz
zsh-878d1272fd18da172441d058c3b6b9b60ef01da9.zip
36646: handle solaris/openzfs differences; only use -t share on solaris
Diffstat (limited to 'Completion/Unix/Command/_zpool')
-rw-r--r--Completion/Unix/Command/_zpool4
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_zpool b/Completion/Unix/Command/_zpool
index f2116dc2e..53022db8a 100644
--- a/Completion/Unix/Command/_zpool
+++ b/Completion/Unix/Command/_zpool
@@ -2,9 +2,11 @@
 # Synced with the S11U1 man page
 
 _zpool() {
-	local context state line expl
+	local context state line expl implementation
 	local -a subcmds fields ro_props rw_props versions create_properties_dataset
 
+	_pick_variant -r implementation -c 'zpool upgrade -v' openzfs='This system supports ZFS pool feature flags' solaris
+
 	subcmds=(
 		create destroy add remove list iostat status online
 		offline clear attach detach replace scrub import export