35663: zpool completion fix needed after completion change

This commit is contained in:
Peter Stephenson 2015-07-02 16:25:59 +01:00
parent 2afdb3985a
commit 96fa41a7c8
2 changed files with 4 additions and 1 deletions

View file

@ -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,

View file

@ -86,7 +86,7 @@ _zpool() {
)
if [[ $service == "zpool" ]]; then
_arguments -C -A "-*" \
_arguments -C \
'-\?[show help information]' \
'1:subcommand:compadd -a subcmds' \
'*:: :->subcmd' && return