Lint: Resolve unused-parameter error

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-03-02 11:19:11 +01:00
parent dd40078301
commit 3df42cbd32
No known key found for this signature in database

View File

@ -9,7 +9,7 @@ import (
var versionCmd = &cobra.Command{ var versionCmd = &cobra.Command{
Use: "version", Use: "version",
Short: "Displays the tool version", Short: "Displays the tool version",
Run: func(cmd *cobra.Command, args []string) { Run: func(*cobra.Command, []string) {
fmt.Printf("ots-cli %s\n", version) //nolint:forbidigo fmt.Printf("ots-cli %s\n", version) //nolint:forbidigo
}, },
} }