diff options
author | Oliver Kiddle <okiddle@yahoo.co.uk> | 2019-05-09 00:17:04 +0200 |
---|---|---|
committer | Oliver Kiddle <okiddle@yahoo.co.uk> | 2019-05-09 00:17:04 +0200 |
commit | 09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7 (patch) | |
tree | 601415774d4ab34958807bc0872322d9062a59a0 /Completion/Unix/Command/_zpool | |
parent | ffacb17886e8071332c0b1dc8263e7dbe6af268a (diff) | |
download | zsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.tar.gz zsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.tar.xz zsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.zip |
44279: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5
Diffstat (limited to 'Completion/Unix/Command/_zpool')
-rw-r--r-- | Completion/Unix/Command/_zpool | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_zpool b/Completion/Unix/Command/_zpool index 4d4793eea..d9c2caa52 100644 --- a/Completion/Unix/Command/_zpool +++ b/Completion/Unix/Command/_zpool @@ -14,7 +14,7 @@ _zpool() { ) if [[ $implementation = openzfs ]] && [[ $OSTYPE != solaris* ]]; then - subcmds+=(labelclear) + subcmds+=( labelclear initialize ) fi versions=( @@ -158,6 +158,14 @@ _zpool() { '::pool name:_zfs_pool' ;; + (initialize) + _arguments -A "-*" \ + '(-c --cancel)'{-c,--cancel}'[cancel initializing on specified devices]' \ + '(-s --suspend)'{-s,--suspend}'[suspend initializing on specified devices]' \ + ':pool name:_zfs_pool' \ + '*:device:_files' + ;; + (iostat) _arguments -A "-*" \ '-l[Display configuration in /dev/chassis location form]' \ |