Skip to content

Commit

Permalink
Use --show-hash as CL arg
Browse files Browse the repository at this point in the history
  • Loading branch information
petebachant committed Oct 12, 2024
1 parent 65c7819 commit 488ca3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dvc/commands/ls/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,12 @@ def add_parser(subparsers, parent_parser):
),
)
list_parser.add_argument("--size", action="store_true", help="Show sizes.")
list_parser.add_argument("--md5", action="store_true", help="Show MD5 checksums.")
list_parser.add_argument(
"--show-hash",
help="Display hash value for each item.",
action="store_true",
default=False,
)
list_parser.add_argument(
"path",
nargs="?",
Expand Down

0 comments on commit 488ca3f

Please sign in to comment.