java2groovy --version (return code: 0)
groovyjarjarcommonscli.UnrecognizedOptionException: Unrecognized option: --version
at groovyjarjarcommonscli.Parser.processOption(Parser.java:383)
at groovyjarjarcommonscli.Parser.parse(Parser.java:210)
at groovyjarjarcommonscli.Parser.parse(Parser.java:88)
at org.codehaus.groovy.antlr.java.Java2GroovyMain.main(Java2GroovyMain.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)
java2groovy --help (return code: 0)
groovyjarjarcommonscli.UnrecognizedOptionException: Unrecognized option: --help
at groovyjarjarcommonscli.Parser.processOption(Parser.java:383)
at groovyjarjarcommonscli.Parser.parse(Parser.java:210)
at groovyjarjarcommonscli.Parser.parse(Parser.java:88)
at org.codehaus.groovy.antlr.java.Java2GroovyMain.main(Java2GroovyMain.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)