Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Dpicocli.trace (without value) throws exception when used with Groovy #219

Closed
remkop opened this issue Oct 29, 2017 · 0 comments
Closed
Milestone

Comments

@remkop
Copy link
Owner

remkop commented Oct 29, 2017

$ C:/apps/groovy-2.4.5/bin/groovy -Dpicocli.trace /cygdrive/c/Users/remko/IdeaProjects/pico-cli/src/test/groovy/picocli/groovy/checksum.groovy *.jar --help
Caught: java.lang.IllegalArgumentException: No enum constant picocli.CommandLine.TraceLevel.true
java.lang.IllegalArgumentException: No enum constant picocli.CommandLine.TraceLevel.true
        at picocli.CommandLine$TraceLevel.valueOf(CommandLine.java:4525)
        at picocli.CommandLine$TraceLevel.lookup(CommandLine.java:4531)
        at picocli.CommandLine$Tracer.<init>(CommandLine.java:4534)
        at picocli.CommandLine$Tracer.<init>(CommandLine.java:4533)
        at picocli.CommandLine.<init>(CommandLine.java:134)
        at picocli.groovy.PicocliBaseScript.createCommandLine(PicocliBaseScript.java:177)
        at picocli.groovy.PicocliBaseScript.getOrCreateCommandLine(PicocliBaseScript.java:159)
        at picocli.groovy.PicocliBaseScript.run(PicocliBaseScript.java:104)
@remkop remkop closed this as completed in 846ace0 Oct 29, 2017
@remkop remkop modified the milestones: 2.1.0, 2.0.2 Oct 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant