knife: fix refactor mistake

This commit is contained in:
Marc Cornellà 2020-03-04 09:12:58 +01:00
parent 314dd205ca
commit 22fed4fbcb

View file

@ -106,10 +106,10 @@ _knife() {
compadd -Q "$@" show edit list "from file" create delete compadd -Q "$@" show edit list "from file" create delete
;; ;;
bootstrap|clean|cook|prepare) bootstrap|clean|cook|prepare)
compadd "$@" nodes/*.json(N:t:r); done compadd "$@" nodes/*.json(N:t:r)
;; ;;
init) init)
compadd "$@" ./*(/N:t); done compadd "$@" ./*(/N:t)
;; ;;
*) *)
_arguments '3:Subsubcommands:($(_knife_options2))' _arguments '3:Subsubcommands:($(_knife_options2))'