From 6984546ae2ae584a7696922fd060bce3007a5ba1 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 30 Jan 2020 18:25:11 -0600 Subject: [PATCH] diff/metrics diff: simplify `b_ref` desc per https://github.com/iterative/dvc/pull/3244#pullrequestreview-351111761 --- dvc/command/diff.py | 8 ++++---- dvc/command/metrics.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dvc/command/diff.py b/dvc/command/diff.py index 1e0edcf6a..e23fef94f 100644 --- a/dvc/command/diff.py +++ b/dvc/command/diff.py @@ -133,8 +133,8 @@ def add_parser(subparsers, parent_parser): diff_parser.add_argument( "a_ref", help=( - "Git reference to the older version to compare" - " (defaults to `HEAD`)" + "Git reference to the older version to compare " + "(defaults to `HEAD`)" ), nargs="?", default="HEAD", @@ -142,8 +142,8 @@ def add_parser(subparsers, parent_parser): diff_parser.add_argument( "b_ref", help=( - "Git reference to the newer version to compare" - " (defaults to the current workspace including changes)" + "Git reference to the newer version to compare " + "(defaults to the current workspace)" ), nargs="?", ) diff --git a/dvc/command/metrics.py b/dvc/command/metrics.py index 7aa6e7b7d..e6d92b739 100644 --- a/dvc/command/metrics.py +++ b/dvc/command/metrics.py @@ -286,16 +286,16 @@ def add_parser(subparsers, parent_parser): "a_ref", nargs="?", help=( - "Git reference to the older version to compare" - " (defaults to `HEAD`)" + "Git reference to the older version to compare " + "(defaults to `HEAD`)" ), ) metrics_diff_parser.add_argument( "b_ref", nargs="?", help=( - "Git reference to the newer version to compare" - " (defaults to the current workspace including changes)" + "Git reference to the newer version to compare " + "(defaults to the current workspace)" ), ) metrics_diff_parser.add_argument(