scripts: update completion scripts for diff

This commit is contained in:
Mr. Outis
2020-01-26 22:51:29 -06:00
parent bb22acd4c9
commit 27ada0210d
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ def add_parser(subparsers, parent_parser):
)
diff_parser.add_argument(
"--checksums",
help=("Display checksums of each entry"),
help=("Display checksums for each entry"),
action="store_true",
default=False,
)
+1 -1
View File
@@ -22,7 +22,7 @@ _dvc_checkout='-d --with-deps -R --recursive -f --force --relink $(compgen -G *.
_dvc_commit='-f --force -d --with-deps -R --recursive $(compgen -G *.dvc)'
_dvc_config='-u --unset --local --system --global'
_dvc_destroy='-f --force'
_dvc_diff='-t --target'
_dvc_diff='-t --target --json --checksums'
_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 --show-url'
+3
View File
@@ -98,6 +98,9 @@ _dvc_destroy=(
_dvc_diff=(
{-t,--target}"[Source path to a data file or directory.]:Target files:"
"--json[Format the output into a JSON]"
"--checksums[Display checksums for each entry]"
{1,2}":Git revision (e.g. branch, tag, SHA):"
)
_dvc_fetch=(