Skip to content

Commit 65f37d9

Browse files
committed
doc: improve help message for the --validation option in dandi upload
1 parent 07548d3 commit 65f37d9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dandi/cli/cmd_upload.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@
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. (Setting this option to a "
43+
"value other than 'require' is highly discouraged.) "
44+
"'require' - data must pass validation before upload; "
45+
"'skip' - no validation is performed on data before upload; "
46+
"'ignore' - data is validated but upload proceeds regardless of validation results.",
4347
type=click.Choice(list(UploadValidation)),
4448
default="require",
4549
show_default=True,

0 commit comments

Comments
 (0)