groovyc -V (return code: 1)
Unrecognized option: --VERSION
groovyc --help (return code: 0)
usage: groovyc [options] <source-files>
options:
-b,--basescript <class> Base class name for scripts (must derive from
Script)
-classpath <path> Specify where to find the class files - must be
first argument
--configscript <arg> A script for tweaking the configuration options
-cp,--classpath <path> Aliases for '-classpath'
-d <arg> Specify where to place generated class files
-e,--exception Print stack trace on error
--encoding <encoding> Specify the encoding of the user class files
-F <flag> passed to javac for joint compilation
-h,--help Print a synopsis of standard options
--indy enables compilation using invokedynamic
-j,--jointCompilation Attach javac compiler to compile .java files
-J <property=value> name-value pairs to pass to javac
--sourcepath <path> Specify where to find the source files
--temp <temp> Specify temporary directory
-v,--version Print the version