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
;;
bootstrap|clean|cook|prepare)
compadd "$@" nodes/*.json(N:t:r); done
compadd "$@" nodes/*.json(N:t:r)
;;
init)
compadd "$@" ./*(/N:t); done
compadd "$@" ./*(/N:t)
;;
*)
_arguments '3:Subsubcommands:($(_knife_options2))'