mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
diff/metics diff: update argument descriptions
to match https://github.com/iterative/dvc.org/pull/933
This commit is contained in:
+3
-3
@@ -157,13 +157,13 @@ def add_parser(subparsers, parent_parser):
|
||||
),
|
||||
)
|
||||
diff_parser.add_argument(
|
||||
"a_ref", help="Git reference from which diff calculates"
|
||||
"a_ref", help="Git reference from which the diff begins"
|
||||
)
|
||||
diff_parser.add_argument(
|
||||
"b_ref",
|
||||
help=(
|
||||
"Git reference until which diff calculates, if omitted "
|
||||
"diff shows the difference between current HEAD and a_ref"
|
||||
"Git reference until which the diff ends. "
|
||||
"If omitted, `HEAD` (latest commit) is used."
|
||||
),
|
||||
nargs="?",
|
||||
)
|
||||
|
||||
@@ -273,7 +273,7 @@ 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 = "Output metric values."
|
||||
METRICS_DIFF_HELP = "Calculates the numeric difference between metrics."
|
||||
metrics_diff_parser = metrics_subparsers.add_parser(
|
||||
"diff",
|
||||
parents=[parent_parser],
|
||||
@@ -285,16 +285,16 @@ def add_parser(subparsers, parent_parser):
|
||||
"a_ref",
|
||||
nargs="?",
|
||||
help=(
|
||||
"Git reference from which diff is calculated. "
|
||||
"If omitted `HEAD`(latest commit) is used."
|
||||
"Git reference from which the diff begins. "
|
||||
"If omitted, `HEAD` (latest commit) is used."
|
||||
),
|
||||
)
|
||||
metrics_diff_parser.add_argument(
|
||||
"b_ref",
|
||||
nargs="?",
|
||||
help=(
|
||||
"Git reference to which diff is calculated. "
|
||||
"If omitted current working tree is used."
|
||||
"Git reference until which the diff ends. "
|
||||
"If omitted, the current workspace is used instead."
|
||||
),
|
||||
)
|
||||
metrics_diff_parser.add_argument(
|
||||
|
||||
Reference in New Issue
Block a user