Skip to content

Commit

Permalink
Fixed -W issue with output
Browse files Browse the repository at this point in the history
  • Loading branch information
gnewton committed Jun 16, 2017
1 parent d556acd commit 9b995f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chidley.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 9b995f4

Please sign in to comment.