-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
When trying to send groovy scripts to stdin for the groovy CLI, it fails with
"-" is not a valid option
When trying to send groovy scripts to stdin for the groovy CLI, it fails with
"-" is not a valid option
I guess args4j does not handle just - as an option, so I have changed - to =. Not sure whether that is the
best choice, but it works.
Also I needed to change the name of the class to something static and not the name of the input, as "-"
does not make for a good groovy class name. Neither does some-script.groovy.