summaryrefslogtreecommitdiff
path: root/shells/zsh/files/patch-Completion-BSD-Command-_zfs
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2008-08-27 15:50:30 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2008-08-27 15:50:30 +0000
commitdde2d54d9790bc3a01673c2c464ae6824719533f (patch)
treeba04432c3ae6507c0203a9abaa8cca895cb0bb44 /shells/zsh/files/patch-Completion-BSD-Command-_zfs
parentFix misplaced .endif (diff)
Move a comment that broke completion for 'zfs clone'.
Notes
Notes: svn path=/head/; revision=219319
Diffstat (limited to 'shells/zsh/files/patch-Completion-BSD-Command-_zfs')
-rw-r--r--shells/zsh/files/patch-Completion-BSD-Command-_zfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/shells/zsh/files/patch-Completion-BSD-Command-_zfs b/shells/zsh/files/patch-Completion-BSD-Command-_zfs
index 3bc0d32b9ea4..746ffaa713cf 100644
--- a/shells/zsh/files/patch-Completion-BSD-Command-_zfs
+++ b/shells/zsh/files/patch-Completion-BSD-Command-_zfs
@@ -100,9 +100,9 @@
+ ;;
+
+ ("clone")
++ # XXX needs to bail if there are no snapshots
+ _arguments -A "-*" \
+ '-p[Create parent datasets]' \
-+ # XXX needs to bail if there are no snapshots
+ ':snapshot:_zfs_dataset -t snap' \
+ ':filesystem/volume:'
+ ;;