mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
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:
@@ -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
@@ -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(
|
||||
|
||||
@@ -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],
|
||||
|
||||
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user