forked from apache/daffodil
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error if -T and -P options are used together in the CLI
When a parser is created with the CLI "save-parser" command, the values of the tunables are serialized along with the parser. When using the "parse", "unparse", or "performance" commands with the -P option to reload a saved parser, we use the serialized tunable values and ignore the -T option if provided. This can be confusing since there is no indication that the -T option is ignored. To avoid this, we now error if the -P and -T options are used together. Saved parsers must be rebuilt if you want to change tunable values. DAFFODIL-2880
- Loading branch information
1 parent
0e93ce0
commit 9b12912
Showing
2 changed files
with
38 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters