1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 05:00:59 +01:00

44279: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5

This commit is contained in:
Oliver Kiddle 2019-05-09 00:17:04 +02:00
parent ffacb17886
commit 09c6acf7b2
21 changed files with 112 additions and 59 deletions

View file

@ -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]' \