Closed kckrinke closed 4 months ago
v2.27.1
Categories with no visible flags are still visible in the --help text output.
Nothing special.
I've worked around this problem in my own projects and I don't know enough about the codebase (v2 and v3) to know if this is an easy fix or not.
go version
go version go1.21.5 linux/arm64
go env
GO111MODULE='' GOARCH='arm64' GOBIN='' GOCACHE='/pruned/golang/cache' GOENV='/pruned/golang/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='-modcacherw' GOHOSTARCH='arm64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/pruned/golang/modcache' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/quo' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/pruned/golang/go' GOSUMDB='sum.golang.org' GOTMPDIR='/pruned/golang/tmp' GOTOOLCHAIN='auto' GOTOOLDIR='/pruned/golang/go/pkg/tool/linux_arm64' GOVCS='' GOVERSION='go1.21.5' GCCGO='gccgo' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/pruned/project/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/pruned/golang/tmp/go-build2354014409=/tmp/go-build -gno-record-gcc-switches'
+1
My urfave/cli version is
v2.27.1
Checklist
Dependency Management
Describe the bug
Categories with no visible flags are still visible in the --help text output.
To reproduce
Observed behavior
Expected behavior
Additional context
Nothing special.
Want to fix this yourself?
I've worked around this problem in my own projects and I don't know enough about the codebase (v2 and v3) to know if this is an easy fix or not.
Run
go version
and paste its output hereRun
go env
and paste its output here