From bd0b28d7c2a7e31a56f26b2792b44ad789196150 Mon Sep 17 00:00:00 2001 From: Alexander Schepanovski Date: Tue, 31 Dec 2019 14:04:51 +0700 Subject: [PATCH] ui: add checkout --relink to autocomplete scripts --- scripts/completion/dvc.bash | 2 +- scripts/completion/dvc.zsh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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)'" )