From 09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 9 May 2019 00:17:04 +0200 Subject: 44279: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5 --- Completion/Unix/Command/_zpool | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_zpool') 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]' \ -- cgit 1.4.1