You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2021/05/13 13:26:00 UTC
[jira] [Closed] (DAFFODIL-2477) --validate option requires
parameter
[ https://issues.apache.org/jira/browse/DAFFODIL-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Thompson closed DAFFODIL-2477.
-----------------------------------
Verified validation option -V | ----validate functions as expect per dev. Will verify daffodil-site "Command Line Interface" page when it is updated after release of 3.1.0.
> --validate option requires parameter
> ------------------------------------
>
> Key: DAFFODIL-2477
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2477
> Project: Daffodil
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.0
> Reporter: Steve Lawrence
> Assignee: John Interrante
> Priority: Minor
> Labels: beginner
> Fix For: 3.1.0
>
>
> The CLI --validate flag allows an optional "mode" argument to specify whether to have full, limited, or no validation. If mode is not specified, it defaults to no validation.
> As of Daffodil 3.0.0, this appears to be broken and the mode parameter is required. If you do not specify a mode, you get the error:
> {code:java}
> [error] Bad arguments for option 'validate': '' - you should provide exactly one argument for this option{code}
> We need to fix this to make it optional again, or if that isn't possible for some reason, make it so the documentation is changed to make it clear that mode is a required argument.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)