Rename prep to prepare
This commit is contained in:
parent
93f06c39a2
commit
e4f7733c88
|
@ -3,7 +3,7 @@ _ctctl(){
|
||||||
_init_completion || return
|
_init_completion || return
|
||||||
|
|
||||||
case $prev in
|
case $prev in
|
||||||
auth|disconnect|render|fetch|prep|current|tokens|list|build|build-no-cache|exec|sh|logs|loki|conf)
|
auth|disconnect|render|fetch|prepare|current|tokens|list|build|build-no-cache|exec|sh|logs|loki|conf)
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
switch)
|
switch)
|
||||||
|
@ -12,7 +12,7 @@ _ctctl(){
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
COMPREPLY=($(compgen -W 'auth switch current disconnect render fetch prep tokens list build build-no-cache exec sh logs loki conf' -- "$cur"))
|
COMPREPLY=($(compgen -W 'auth switch current disconnect render fetch prepare tokens list build build-no-cache exec sh logs loki conf' -- "$cur"))
|
||||||
} &&
|
} &&
|
||||||
complete -F _ctctl ctctl
|
complete -F _ctctl ctctl
|
||||||
|
|
||||||
|
|
2
ctctl
2
ctctl
|
@ -939,7 +939,7 @@ case $1 in
|
||||||
ctctl_update_submodules
|
ctctl_update_submodules
|
||||||
ctctl_renew_leases
|
ctctl_renew_leases
|
||||||
;;
|
;;
|
||||||
prep)
|
prep|prepare)
|
||||||
ctctl_update_submodules
|
ctctl_update_submodules
|
||||||
ctctl_render_templates
|
ctctl_render_templates
|
||||||
ctctl_handle_prep_scripts
|
ctctl_handle_prep_scripts
|
||||||
|
|
Loading…
Reference in New Issue
Block a user