Rename prep to prepare

This commit is contained in:
Daniel Berteaud 2024-01-31 21:44:54 +01:00
parent 93f06c39a2
commit e4f7733c88
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ _ctctl(){
_init_completion || return
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
;;
switch)
@ -12,7 +12,7 @@ _ctctl(){
;;
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

2
ctctl
View File

@ -939,7 +939,7 @@ case $1 in
ctctl_update_submodules
ctctl_renew_leases
;;
prep)
prep|prepare)
ctctl_update_submodules
ctctl_render_templates
ctctl_handle_prep_scripts