mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
add/import/import-url: update help message for labels/type/desc (#8271)
This commit is contained in:
+4
-7
@@ -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.",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user