Skip to content

Commit

Permalink
metrics diff: use same param desc as in simple diff
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeorpinel committed Jan 30, 2020
1 parent aa849ab commit 4403d66
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dvc/command/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ def add_parser(subparsers, parent_parser):
metrics_remove_parser.add_argument("path", help="Path to a metric file.")
metrics_remove_parser.set_defaults(func=CmdMetricsRemove)

METRICS_DIFF_HELP = "Show a table of changes between metrics among DVC "
"repository revisions."
METRICS_DIFF_HELP = "Show a table of changes between metrics among "
"versions of the DVC repository."
metrics_diff_parser = metrics_subparsers.add_parser(
"diff",
parents=[parent_parser],
Expand All @@ -286,16 +286,16 @@ def add_parser(subparsers, parent_parser):
"a_ref",
nargs="?",
help=(
"Git reference from which the diff begins. "
"If omitted, `HEAD` (latest commit) is used."
"Git reference to the older version to compare"
" (defaults to `HEAD`)"
),
)
metrics_diff_parser.add_argument(
"b_ref",
nargs="?",
help=(
"Git reference until which the diff ends. "
"If omitted, the current workspace is used instead."
"Git reference to the newer version to compare"
" (defaults to the current workspace including changes)"
),
)
metrics_diff_parser.add_argument(
Expand Down

0 comments on commit 4403d66

Please sign in to comment.