completion: get --show-url

This commit is contained in:
Mr. Outis
2020-01-17 18:50:08 -06:00
parent 7f5e4a9fe0
commit 6ad55ec3b0
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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'
+2 -1
View File
@@ -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:"
)