Skip to content

Commit

Permalink
add/import/import-url: update help message for labels/type/desc (#8271)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Sep 8, 2022
1 parent c70d0bd commit 55b1616
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions dvc/commands/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,28 @@ 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",
dest="labels",
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.",
)


Expand Down

0 comments on commit 55b1616

Please sign in to comment.