diff --git a/cmd/yggstack/main.go b/cmd/yggstack/main.go index d910fbd2..9af38f17 100644 --- a/cmd/yggstack/main.go +++ b/cmd/yggstack/main.go @@ -87,7 +87,7 @@ func main() { } case args.GenConf: // Generate a new configuration and print it to stdout. - fmt.Println(config.GenerateConfigJSON(args.ConfJSON)) + fmt.Printf("%s\n", config.GenerateConfigJSON(args.ConfJSON)) return default: // No flags were provided, therefore print the list of flags to stdout.