diff --git a/chidley.go b/chidley.go index 263f801..f0cb8d6 100644 --- a/chidley.go +++ b/chidley.go @@ -90,6 +90,10 @@ func init() { func handleParameters() error { flag.Parse() + if codeGenConvert || writeJava { + structsToStdout = false + } + numBoolsSet := countNumberOfBoolsSet(outputs) if numBoolsSet > 1 { log.Print(" ERROR: Only one of -W -J -X -V -c can be set")