CLI --help changes

This commit is contained in:
Dani Hodovic
2019-12-05 21:05:01 +01:00
parent 8c3ffe816d
commit 26b62331c7
+3 -3
View File
@@ -33,7 +33,7 @@ class CmdGet(CmdBaseNoRepo):
def add_parser(subparsers, parent_parser):
GET_HELP = "Download data from DVC repository."
GET_HELP = "Download files or directories from DVC repository."
get_parser = subparsers.add_parser(
"get",
parents=[parent_parser],
@@ -44,10 +44,10 @@ def add_parser(subparsers, parent_parser):
get_parser.add_argument(
"url", help="URL of Git repository with DVC project to download from."
)
get_parser.add_argument("path", help="Path to data within DVC repository.")
get_parser.add_argument(
"-o", "--out", nargs="?", help="Destination path to put data to."
"path", help="Path to a file or directory within a DVC repository."
)
get_parser.add_argument("-o", "--out", nargs="?", help="Destination path.")
get_parser.add_argument(
"--rev", nargs="?", help="DVC repository git revision."
)