Skip to content

Commit be4638b

Browse files
committed
doc: improve help message for the --validation option in dandi upload
1 parent 3501190 commit be4638b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dandi/cli/cmd_upload.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
)
4040
@click.option(
4141
"--validation",
42-
help="Data must pass validation before the upload. Use of this option is highly discouraged.",
42+
help="Controls validation requirements before upload. "
43+
"'require' - data must pass validation before upload; "
44+
"'skip' - no validation is performed on data before upload; "
45+
"'ignore' - data is validated but upload proceeds regardless of validation results.",
4346
type=click.Choice(list(UploadValidation)),
4447
default="require",
4548
show_default=True,

0 commit comments

Comments
 (0)