Lint: Resolve unused-parameter error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
dd40078301
commit
3df42cbd32
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
var versionCmd = &cobra.Command{
|
||||
Use: "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
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue