mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
Fix -genconf
This commit is contained in:
parent
d2200a3812
commit
fd1843ca72
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue