Skip to content

When using -f command-line parameter no warning is given #935

Closed
@barbeau

Description

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:

  1. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working (crash, a rule has a problem)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions