mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
scripts: update completion scripts for diff
This commit is contained in:
+1
-1
@@ -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,
|
||||
)
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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=(
|
||||
|
||||
Reference in New Issue
Block a user