mirror of
https://github.com/Luzifer/ots.git
synced 2024-12-18 12:04:35 -05:00
Lint: Resolve unused-parameter error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
dd40078301
commit
3df42cbd32
@ -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
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user