Fix -genconf in yggstack

This commit is contained in:
Neil Alexander 2022-02-16 22:52:07 +00:00 committed by Vasyl Gello
parent 33e513af67
commit 792559f8dd

View file

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