harbor run -t openthoughts/tasktrove-swe-rebench-v2-patched-oracle-alecthomas__kong-247
harbor download openthoughts/tasktrove-swe-rebench-v2-patched-oracle-alecthomas__kong-247
cd /testbed git clone https://github.com/alecthomas/kong.git . && git checkout 32b2f740c921ebddcf8abe1a9f3ce781c25c93c2 wget -q https://go.dev/dl/go1.21.0.linux-amd64.tar.gz tar -C /tmp -xzf go1.21.0.linux-amd64.tar.gz export PATH="/tmp/go/bin:$PATH" export GOPATH=$HOME/go export GOMODCACHE=$GOPATH/pkg/mod mkdir -p $GOPATH export GOCACHE=$HOME/.cache/go-build export XDG_CACHE_HOME=$HOME/.cache mkdir -p $GOCACHE go mod download
Default help formatter appends environment variable even when ${env} is inside the help string I have the following structure:
type Config struct { Project string `short:"p" env:"CI_PROJECT_ID" help:"Environment variable: ${env}"` }
And the help message I get is:
Environment variable: CI_PROJECT_ID ($CI_PROJECT_ID)
But I would expect it to be:
Environment variable: CI_PROJECT_ID
This issue is a followup to #244.