diff: update help output to match docs, et al. (#3601)

* diff: update help output to match docs
per https://github.com/iterative/dvc/pull/3566#pullrequestreview-388346350

* terms: git->Git, scm->SCM, spacing
This commit is contained in:
Jorge Orpinel
2020-04-07 12:50:11 +03:00
committed by GitHub
parent dfe184f149
commit f325921315
6 changed files with 7 additions and 8 deletions
+2 -3
View File
@@ -120,9 +120,8 @@ 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. "
"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",
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -28,7 +28,7 @@ class OutputIsNotFileOrDirError(DvcException):
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)
+1 -1
View File
@@ -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
+1 -1
View File
@@ -1,4 +1,4 @@
"""Manages source control systems(e.g. Git) in dvc."""
"""Manages source control systems (e.g. Git) in DVC."""
import os
+1 -1
View File
@@ -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."