From 6ad55ec3b024d135aa84f58623b3f4c70b0fb932 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Fri, 17 Jan 2020 18:50:08 -0600 Subject: [PATCH] completion: get --show-url --- 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 08e0b091c9..2af965a67d 100644 --- a/scripts/completion/dvc.bash +++ b/scripts/completion/dvc.bash @@ -25,7 +25,7 @@ _dvc_destroy='-f --force' _dvc_diff='-t --target' _dvc_fetch='-j --jobs -r --remote -a --all-branches -T --all-tags -d --with-deps -R --recursive $(compgen -G *.dvc)' _dvc_get_url='' -_dvc_get='-o --out --rev' +_dvc_get='-o --out --rev --show-url' _dvc_gc='-a --all-branches -T --all-tags -c --cloud -r --remote -f --force -p --projects -j --jobs' _dvc_import_url='-f --file' _dvc_import='-o --out --rev' diff --git a/scripts/completion/dvc.zsh b/scripts/completion/dvc.zsh index 970ec5b427..32bdef47ff 100644 --- a/scripts/completion/dvc.zsh +++ b/scripts/completion/dvc.zsh @@ -117,7 +117,8 @@ _dvc_geturl=( _dvc_get=( {-o,--out}"[Destination path to put data to.]:OUT:_files -/" - "--rev[DVC repository git revision.]:Commit hash:" + "--rev[Git revision (e.g. branch, tag, SHA)]:Revision:" + "--show-url[Returns path/url to the location in remote for given path]" "1:URL:" "2:Path:" )