mirror of
https://github.com/amnezia-vpn/euphoria.git
synced 2026-05-17 07:35:44 +03:00
Fix output of the version command
This commit is contained in:
2
main.go
2
main.go
@@ -59,7 +59,7 @@ func warning() {
|
||||
|
||||
func main() {
|
||||
if len(os.Args) == 2 && os.Args[1] == "--version" {
|
||||
fmt.Printf("amneziawg-go v%s\n\nUserspace AmneziaWG daemon for %s-%s.\nInformation available at https://amnezia.org\n", Version, runtime.GOOS, runtime.GOARCH)
|
||||
fmt.Printf("amneziawg-go %s\n\nUserspace AmneziaWG daemon for %s-%s.\nInformation available at https://amnezia.org\n", Version, runtime.GOOS, runtime.GOARCH)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user