From 65f37d9e46f826e4be552c2bd72d0e97448583b0 Mon Sep 17 00:00:00 2001 From: Isaac To Date: Fri, 12 Dec 2025 14:23:24 -0800 Subject: [PATCH] doc: improve help message for the `--validation` option in `dandi upload` --- dandi/cli/cmd_upload.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dandi/cli/cmd_upload.py b/dandi/cli/cmd_upload.py index 3629e1c77..1f057dc36 100644 --- a/dandi/cli/cmd_upload.py +++ b/dandi/cli/cmd_upload.py @@ -39,7 +39,11 @@ ) @click.option( "--validation", - help="Data must pass validation before the upload. Use of this option is highly discouraged.", + help="Controls validation requirements before upload. (Setting this option to a " + "value other than 'require' is highly discouraged.) " + "'require' - data must pass validation before upload; " + "'skip' - no validation is performed on data before upload; " + "'ignore' - data is validated but upload proceeds regardless of validation results.", type=click.Choice(list(UploadValidation)), default="require", show_default=True,