Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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."
Comment on lines 123 to 125
Copy link
Copy Markdown
Contributor

@jorgeorpinel jorgeorpinel Apr 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show added, modified, or deleted data
between commits in the DVC repository,
or between a commit and the workspace

to match https://dvc.org/doc/command-reference/diff

I'll edit this in a separate PR... ⏳

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Including zsh autocomplete script.)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #3601

)
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."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update docs to match this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

)
version_parser = subparsers.add_parser(
"version",
parents=[parent_parser],
Expand Down