CLI: Fixed cmds help strings (#3566)

This fixes a few command help string outputs that were
cut short because of a typo.
This commit is contained in:
Nate Gadzhibalaev
2020-04-01 14:00:16 +03:00
committed by GitHub
parent 60ace79305
commit f4d91b35d7
4 changed files with 11 additions and 8 deletions
+4 -2
View File
@@ -195,8 +195,10 @@ def add_parser(subparsers, _parent_parser):
push_parser.set_defaults(func=CmdDataPush)
# Fetch
FETCH_HELP = "Get tracked files or directories from remote storage"
" into the cache."
FETCH_HELP = (
"Get tracked files or directories from remote storage"
" into the cache."
)
fetch_parser = subparsers.add_parser(
"fetch",
+1 -1
View File
@@ -121,7 +121,7 @@ class CmdDiff(CmdBase):
def add_parser(subparsers, parent_parser):
DIFF_DESCRIPTION = (
"Show changes between commits in the DVC repository,"
" or between a commit and the workspace."
" or between a commit and the workspace. "
"Prints the list of paths added, modified, or deleted."
)
diff_parser = subparsers.add_parser(
+3 -2
View File
@@ -57,8 +57,9 @@ class CmdRepro(CmdBase):
def add_parser(subparsers, parent_parser):
REPRO_HELP = "Reproduce complete or partial pipelines"
" by executing their stages."
REPRO_HELP = (
"Reproduce complete or partial pipelines by executing their stages."
)
repro_parser = subparsers.add_parser(
"repro",
parents=[parent_parser],
+3 -3
View File
@@ -142,9 +142,9 @@ def _get_dvc_repo_info(repo):
def add_parser(subparsers, parent_parser):
VERSION_HELP = "Display the DVC version"
" and system/environment information."
VERSION_HELP = (
"Display the DVC version and system/environment information."
)
version_parser = subparsers.add_parser(
"version",
parents=[parent_parser],