diff --git a/scripts/completion/dvc.bash b/scripts/completion/dvc.bash index 95693042be..08e0b091c9 100644 --- a/scripts/completion/dvc.bash +++ b/scripts/completion/dvc.bash @@ -18,7 +18,7 @@ _dvc_global_options='-h --help -q --quiet -v --verbose' _dvc_add='-R --recursive -f --file --no-commit $(compgen -G *)' _dvc_cache='dir' _dvc_cache_dir=' --global --system --local -u --unset' -_dvc_checkout='-f --force -d --with-deps -R --recursive $(compgen -G *.dvc)' +_dvc_checkout='-d --with-deps -R --recursive -f --force --relink $(compgen -G *.dvc)' _dvc_commit='-f --force -d --with-deps -R --recursive $(compgen -G *.dvc)' _dvc_config='-u --unset --local --system --global' _dvc_destroy='-f --force' diff --git a/scripts/completion/dvc.zsh b/scripts/completion/dvc.zsh index ecbea7cef0..657ef6d083 100644 --- a/scripts/completion/dvc.zsh +++ b/scripts/completion/dvc.zsh @@ -72,8 +72,9 @@ _dvc_cache=( _dvc_checkout=( {-d,--with-deps}"[Checkout all dependencies of the specified target.]" - {-f,--force}"[Do not prompt when removing working directory files.]" {-R,--recursive}"[Checkout all subdirectories of the specified directory.]" + {-f,--force}"[Do not prompt when removing working directory files.]" + {--relink}"[Recreate links or copies from cache to workspace.]" "1:Stages:_files -g '(*.dvc|Dvcfile)'" )