Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Aug 25, 2023
1 parent 0446ebf commit ec46137
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exp/metric-gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
"sigs.k8s.io/controller-tools/pkg/markers"

"k8s.io/klog/v2"

"k8s.io/kube-state-metrics/v2/exp/metric-gen/generator"
)

Expand All @@ -44,7 +45,7 @@ func main() {
var whichMarkersFlag, versionFlag bool

pflag.CommandLine.BoolVarP(&whichMarkersFlag, "which-markers", "w", false, "Print out all markers available with the requested generators.")
pflag.CommandLine.BoolVarP(&versionFlag, "version", "v", false, "Print verison information.")
pflag.CommandLine.BoolVarP(&versionFlag, "version", "v", false, "Print version information.")

pflag.Usage = func() {
fmt.Fprintf(os.Stderr, "Usage of %s:\n\n", os.Args[0])
Expand Down

0 comments on commit ec46137

Please sign in to comment.