diff options
author | Eric Cook <llua@gmx.com> | 2015-10-19 16:05:01 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2015-10-19 16:07:32 +0200 |
commit | 878d1272fd18da172441d058c3b6b9b60ef01da9 (patch) | |
tree | a57e91beb412d496fe714b49b119be97322d7f24 /Completion/Unix/Command/_zfs | |
parent | d8f8d3e5340e4f61e70aef68d20a41db4445a66f (diff) | |
download | zsh-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/_zfs')
-rw-r--r-- | Completion/Unix/Command/_zfs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_zfs b/Completion/Unix/Command/_zfs index cd5ad3edc..04a92e685 100644 --- a/Completion/Unix/Command/_zfs +++ b/Completion/Unix/Command/_zfs @@ -2,7 +2,7 @@ # Synced with the S11U1 man page _zfs() { - local context state line expl + local context state line expl implementation typeset -A opt_args local -a subcmds rw_properties rw_propnames ro_properties create_properties local -a share_nfs_ro_properties share_nfs_rw_properties @@ -10,6 +10,8 @@ _zfs() { local -a share_ro_properties share_rw_properties local -a difffields delegatable_perms + _pick_variant -r implementation -c 'zpool upgrade -v' openzfs='This system supports ZFS pool feature flags' solaris + subcmds=( "create" "destroy" "clone" "promote" "rename" "snapshot" "rollback" "list" "set" "get" "inherit" "mount" "unmount" |