[Bug]: Windows executable not working properly #1118
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Checklist
Affected Components
K8sGPT Version
v0.3.31
Kubernetes Version
No response
Host OS and its Version
Windows 11
Steps to reproduce
Expected behaviour
get help command or something
Actual behaviour
panic: unable to redefine 'c' shorthand in "add" flagset: it's already used for "topp" flag
goroutine 1 [running]:
github.com/spf13/pflag.(*FlagSet).AddFlag(0xc000d04700, 0xc00096b4a0)
/home/runner/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:874 +0x3e7
github.com/spf13/pflag.(*FlagSet).VarPF(0x28?, {0x3364b70, 0x4dc5cc0}, {0x2c08dbd, 0x4}, {0x3331b20, 0x1}, {0x2d0a7cd, 0xca})
/home/runner/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:831 +0x14f
github.com/spf13/pflag.(*FlagSet).VarP(...)
/home/runner/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:837
github.com/spf13/pflag.(*FlagSet).Int32VarP(0x2ce6ad6?, 0x5e?, {0x2c08dbd?, 0x10?}, {0x3331b20?, 0x4d65680?}, 0x3331b18?, {0x2d0a7cd?, 0x0?})
/home/runner/go/pkg/mod/github.com/spf13/pflag@v1.0.5/int32.go:50 +0x45
github.com/k8sgpt-ai/k8sgpt/cmd/auth.init.0()
/home/runner/work/k8sgpt/k8sgpt/cmd/auth/add.go:166 +0x229
Additional Information
No response
The text was updated successfully, but these errors were encountered: