When using -f command-line parameter no warning is given #935
Closed
Description
opened on Jul 22, 2021
Describe the bug
I was accidentally using the old -f
command-line parameter with the main branch, and when I do I get a mysterious:
Execution failed for task ':main:Main.main()'.
> Process 'command 'C:/Program Files/Java/jdk-14/bin/java.exe'' finished with non-zero exit value 1
The help should print and say that -f
is deprecated and use -c
instead.
How we reproduce the bug
Steps to reproduce the behaviour:
- Run validator with the old
-f
command line parameter from v2
Expected behaviour
Validator should tell me not to do that and what parameter to use instead
Observed behaviour
Validator just fails to execute without any output
Environment versions
- validator version: Tested with feat: export notice schema as json file #925 but should also apply to main branch
- Java version: JDK 14
- OS versions: Windows 10
Activity