Skip to content

Commit

Permalink
CLI: Fixed cmds help strings (#3566)
Browse files Browse the repository at this point in the history
This fixes a few command help string outputs that were
cut short because of a typo.
  • Loading branch information
natikgadzhi authored Apr 1, 2020
1 parent 60ace79 commit f4d91b3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
6 changes: 4 additions & 2 deletions dvc/command/data_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion dvc/command/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def run(self):
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(
Expand Down
5 changes: 3 additions & 2 deletions dvc/command/repro.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ def run(self):


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],
Expand Down
6 changes: 3 additions & 3 deletions dvc/command/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit f4d91b3

Please sign in to comment.