Skip to content

Commit

Permalink
Fix output of the version command
Browse files Browse the repository at this point in the history
  • Loading branch information
albexk authored and pokamest committed May 14, 2024
1 parent d2b0fc9 commit c00bda9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit c00bda9

Please sign in to comment.