plots: point template help info to manual (#3830)

* plots: point template help info to manual

* Update dvc/command/plots.py

Co-authored-by: Jorge Orpinel <[email protected]>

Co-authored-by: Ruslan Kuprieiev <[email protected]>
Co-authored-by: Jorge Orpinel <[email protected]>
This commit is contained in:
Paweł Redzyński
2020-05-22 00:53:04 +03:00
committed by GitHub
co-authored by Jorge Orpinel Ruslan Kuprieiev
parent cde15e3d3e
commit 61f30ed5ba
+13 -2
View File
@@ -4,6 +4,7 @@ import os
from dvc.command.base import CmdBase, append_doc_link, fix_subparsers
from dvc.exceptions import DvcException
from dvc.utils import format_link
logger = logging.getLogger(__name__)
@@ -114,7 +115,12 @@ def add_parser(subparsers, parent_parser):
"--template",
nargs="?",
default=None,
help="File to be injected with data.",
help=(
"Special JSON or HTML schema file to inject with the data. "
"See {}".format(
format_link("https://man.dvc.org/plots#plot-templates")
)
),
)
plots_show_parser.add_argument(
"-o", "--out", default=None, help="Destination path to save plots to.",
@@ -167,7 +173,12 @@ def add_parser(subparsers, parent_parser):
"--template",
nargs="?",
default=None,
help="File to be injected with data.",
help=(
"Special JSON or HTML schema to inject with the data. "
"See {}".format(
format_link("https://man.dvc.org/plots#plot-templates")
)
),
)
plots_diff_parser.add_argument(
"--targets",