From 4b2191cf3702b0b2ae3902c795a5aa12ef13ed4c Mon Sep 17 00:00:00 2001 From: Bas Date: Tue, 24 Mar 2026 10:57:13 +0100 Subject: [PATCH] Fix version command output format %v already outputs like 'v1.12.1' so using v%v outputs 'vv1.12.1' --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index f411c53b7..c534eb96a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -63,7 +63,7 @@ var versionCommand = &cobra.Command{ Use: "version", Short: "Prints the current executable version and exits.", Run: func(cmd *cobra.Command, _ []string) { - fmt.Printf("wings v%s\nCopyright © 2018 - %d Dane Everitt & Contributors\n", system.Version, time.Now().Year()) + fmt.Printf("wings %s\nCopyright © 2018 - %d Dane Everitt & Contributors\n", system.Version, time.Now().Year()) }, }