@@ -300,12 +300,6 @@ case $OSTYPE in
300300 ;;
301301esac
302302
303- delegatable_perms+=(
304- allow clone create destroy diff hold key keychange mount promote receive
305- release rename rollback send share snapshot groupquota groupused userprop
306- userused ${ci_ds_props%%:*}
307- )
308-
309303key_properties=(
310304 'keylocation:location [prompt]:_files -P file\:// -W /'
311305 'keyformat:format:(raw hex passphrase)'
@@ -316,6 +310,12 @@ ro_ds_props+=( $share_ro_properties )
316310rw_ds_props+=( $share_rw_properties )
317311ci_ds_props+=( $rw_ds_props )
318312
313+ delegatable_perms+=(
314+ allow clone create destroy diff hold key keychange mount promote receive
315+ release rename rollback send share snapshot groupquota groupused userprop
316+ userused ${ci_ds_props%%:*}
317+ )
318+
319319ds_propnames=( ${rw_ds_props%%:*} )
320320po_propnames=( ${ro_po_props%%:*} ${ci_po_props%%:*} ${rw_po_props%%:*} )
321321
@@ -1080,7 +1080,7 @@ case $service:$words[1] in
10801080 zpool:iostat)
10811081 if [[ $implementation = openzfs ]]; then
10821082 args=(
1083- '-c[run scripts on each vdev]:script:_files -W "($ZPOOL_SCRIPTS_PATH /etc/zfs/zpool.d ~/.zpool.d)"'
1083+ '-c+ [run scripts on each vdev]:script:_sequence _files -W "($ZPOOL_SCRIPTS_PATH /etc/zfs/zpool.d ~/.zpool.d)"'
10841084 '-g[display vdev GUIDs instead of normal device names]'
10851085 '-H[suppress headers and tab-delimit fields]'
10861086 '-L[display real paths for vdevs resolving all symbolic links]'
@@ -1249,7 +1249,7 @@ case $service:$words[1] in
12491249 args=(
12501250 '--power[display vdev enclosure slot power status]'
12511251 '-D[display a histogram of deduplication statistics]'
1252- '-c[run scripts on each vdev]:script:_files -W "($ZPOOL_SCRIPTS_PATH /etc/zfs/zpool.d ~/.zpool.d)"'
1252+ '-c+ [run scripts on each vdev]:script:_sequence _files -W "($ZPOOL_SCRIPTS_PATH /etc/zfs/zpool.d ~/.zpool.d)"'
12531253 '-e[only show unhealthy vdevs]'
12541254 '-i[display vdev initialization status]'
12551255 '-g[display vdev GUIDs instead of the normal device names]'
0 commit comments