add/import/import-url: update help message for labels/type/desc (#8271)

This commit is contained in:
skshetry
2022-09-08 23:09:10 +05:45
committed by GitHub
parent c70d0bd14d
commit 55b16166c8
+4 -7
View File
@@ -14,17 +14,14 @@ def _add_annotating_args(parser: argparse.ArgumentParser) -> None:
"--desc",
type=str,
metavar="<text>",
help=(
"User description of the data (optional). "
"This doesn't affect any DVC operations."
),
help="User description of the data.",
)
parser.add_argument(
"--meta",
metavar="key=value",
nargs=1,
action=KeyValueArgs,
help="Custom metadata to add to the data",
help="Custom metadata to add to the data.",
)
parser.add_argument(
"--label",
@@ -32,13 +29,13 @@ def _add_annotating_args(parser: argparse.ArgumentParser) -> None:
type=str,
action="append",
metavar="<str>",
help="Comma separated list of labels for the data (optional).",
help="Label for the data.",
)
parser.add_argument(
"--type",
type=str,
metavar="<str>",
help="Type of the data (optional).",
help="Type of the data.",
)