Skip to content

Commit

Permalink
diff: update help output to match docs, et al. (#3601)
Browse files Browse the repository at this point in the history
* diff: update help output to match docs
per #3566 (review)

* terms: git->Git, scm->SCM, spacing
  • Loading branch information
jorgeorpinel authored Apr 7, 2020
1 parent dfe184f commit f325921
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions dvc/command/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,8 @@ 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. "
"Prints the list of paths added, modified, or deleted."
"Show added, modified, or deleted data between commits in the DVC"
" repository, or between a commit and the workspace."
)
diff_parser = subparsers.add_parser(
"diff",
Expand Down
2 changes: 1 addition & 1 deletion dvc/command/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def add_parser(subparsers, parent_parser):
action="store_true",
default=False,
help="Initiate DVC in directory that is "
"not tracked by any scm tool (e.g. git).",
"not tracked by any SCM tool (e.g. Git).",
)
init_parser.add_argument(
"-f",
Expand Down
2 changes: 1 addition & 1 deletion dvc/output/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, path):

class OutputAlreadyTrackedError(DvcException):
def __init__(self, path):
msg = "output '{}' is already tracked by scm (e.g. git)".format(path)
msg = "output '{}' is already tracked by SCM (e.g. Git)".format(path)
super().__init__(msg)


Expand Down
2 changes: 1 addition & 1 deletion dvc/scm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Manages source control systems(e.g. Git)."""
"""Manages source control systems (e.g. Git)."""

from dvc.scm.base import Base
from dvc.scm.git import Git
Expand Down
2 changes: 1 addition & 1 deletion dvc/scm/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Manages source control systems(e.g. Git) in dvc."""
"""Manages source control systems (e.g. Git) in DVC."""

import os

Expand Down
2 changes: 1 addition & 1 deletion scripts/completion/dvc.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ _dvc_commands() {
"commit:Save changed data to cache and update DVC-files."
"config:Get or set config settings."
"destroy:Remove DVC-files, local DVC config and data cache."
"diff:Show changes between commits in the DVC repository, or between a commit and the workspace."
"diff:Show added, modified, or deleted data between commits in the DVC repository, or between a commit and the workspace."
"fetch:Get files or directories tracked by DVC from remote storage into the cache."
"get-url:Download or copy files from URL."
"get:Download data from DVC repository."
Expand Down

0 comments on commit f325921

Please sign in to comment.