You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2019/08/16 16:29:00 UTC

[GitHub] [groovy] remkop commented on a change in pull request #993: GROOVY-9228: CLI options for static compilation

remkop commented on a change in pull request #993: GROOVY-9228: CLI options for static compilation
URL: https://github.com/apache/groovy/pull/993#discussion_r314794014
 
 

 ##########
 File path: src/main/java/org/codehaus/groovy/tools/FileSystemCompiler.java
 ##########
 @@ -359,9 +393,15 @@ public URL loadGroovySource(String filename) throws MalformedURLException {
         private boolean versionRequested;
 
         @Parameters(description = "The groovy source files to compile, or @-files containing a list of source files to compile",
-                    paramLabel = "<source-files>")
+                paramLabel = "<source-files>")
         private List<String> files;
 
+        @Option(names = {"-cs", "--compile-static"}, description = "Use CompileStatic")
 
 Review comment:
   Same as above, can we use single-character short options?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services