about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-07-02 16:25:59 +0100
committerPeter Stephenson <pws@zsh.org>2015-07-02 16:25:59 +0100
commit96fa41a7c8114d9a5bddec29fdbd0997a74ee745 (patch)
tree84879ae612370014af849a5e2b22e08ea66c4c7f
parent2afdb3985aae08403e1e5ab6193cd67c695b6e2b (diff)
downloadzsh-96fa41a7c8114d9a5bddec29fdbd0997a74ee745.tar.gz
zsh-96fa41a7c8114d9a5bddec29fdbd0997a74ee745.tar.xz
zsh-96fa41a7c8114d9a5bddec29fdbd0997a74ee745.zip
35663: zpool completion fix needed after completion change
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_zpool2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b326336ab..99b779252 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-07-02  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* Eric Cook: 35663: Completion/Unix/Command/_zpool: fix for
+	changed interface.
+
 	* 35668: Src/input.c, Src/lex.c, Src/zsh.h,
 	Test/D03procsubst.ztst: replacement for 35667:
 	use input flag to stop unwanted backtracking,
diff --git a/Completion/Unix/Command/_zpool b/Completion/Unix/Command/_zpool
index 03ebd0642..f2116dc2e 100644
--- a/Completion/Unix/Command/_zpool
+++ b/Completion/Unix/Command/_zpool
@@ -86,7 +86,7 @@ _zpool() {
 	)
 
 	if [[ $service == "zpool" ]]; then
-		_arguments -C -A "-*" \
+		_arguments -C \
 			'-\?[show help information]' \
 			'1:subcommand:compadd -a subcmds' \
 			'*:: :->subcmd' && return