mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-22 15:20:30 +00:00
Minor tweaks
This commit is contained in:
parent
33cd10c463
commit
02bfe28399
@ -131,7 +131,7 @@ func main() {
|
||||
case *ver:
|
||||
fmt.Println("Build name:", version.BuildName())
|
||||
fmt.Println("Build version:", version.BuildVersion())
|
||||
os.Exit(0)
|
||||
return
|
||||
case *autoconf:
|
||||
// Use an autoconf-generated config, this will give us random keys and
|
||||
// port numbers, and will use an automatically selected TUN/TAP interface.
|
||||
|
@ -59,10 +59,10 @@ func main() {
|
||||
args := flag.Args()
|
||||
|
||||
if *ver {
|
||||
fmt.Println(os.Args[0], "build name:", version.BuildName())
|
||||
fmt.Println(os.Args[0], "version:", version.BuildVersion())
|
||||
fmt.Println("\nFor get yggdrasil version use\n - ", os.Args[0], "getSelf")
|
||||
os.Exit(0)
|
||||
fmt.Println("Build name:", version.BuildName())
|
||||
fmt.Println("Build version:", version.BuildVersion())
|
||||
fmt.Println("To get the version number of the running Yggdrasil node, run", os.Args[0], "getSelf")
|
||||
return
|
||||
}
|
||||
|
||||
if len(args) == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user