diff options
| author | Oliver Kiddle <opk@zsh.org> | 2026-06-19 01:37:33 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2026-06-19 01:37:33 +0200 |
| commit | a4e9eb4117613307405a71678af24e044c265189 (patch) | |
| tree | ca1d71317d3319b8753831df61c1941aecd2040a /Completion/Unix/Command/_zfs | |
| parent | 54801: fix two more warnings from 54710 (diff) | |
| download | zsh-a4e9eb4117613307405a71678af24e044c265189.tar zsh-a4e9eb4117613307405a71678af24e044c265189.tar.gz zsh-a4e9eb4117613307405a71678af24e044c265189.tar.bz2 zsh-a4e9eb4117613307405a71678af24e044c265189.tar.lz zsh-a4e9eb4117613307405a71678af24e044c265189.tar.xz zsh-a4e9eb4117613307405a71678af24e044c265189.tar.zst zsh-a4e9eb4117613307405a71678af24e044c265189.zip | |
54800, 54807: completion options update
Diffstat (limited to 'Completion/Unix/Command/_zfs')
| -rw-r--r-- | Completion/Unix/Command/_zfs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_zfs b/Completion/Unix/Command/_zfs index 3e2882536..47e60ec66 100644 --- a/Completion/Unix/Command/_zfs +++ b/Completion/Unix/Command/_zfs @@ -477,9 +477,11 @@ case $service:$words[1] in ;; zfs:clone) - [[ $implementation = solaris ]] && args+=( - '-K[create encryption key]' - ) + if [[ $implementation = solaris ]]; then + args+=( '-K[create encryption key]' ) + else + args+=( "-u[don't mount newly created dataset]" ) + fi _arguments -C -A "-*" -S $args \ '-p[create parent datasets]' \ '*-o+[set property]:property:->create-properties' \ |
