On Tue, Aug 20, 2024 at 5:08 PM will....@gmail.com <will.fau...@gmail.com> wrote: > > Despite showing up an an env var, it's not treated consistently as one: > > ❯ go telemetry off > # nothing printed > # as expected > > ❯ go env | grep GOTELEMETRY= > GOTELEMETRY='off' > # as expected > > ❯ go env GOTELEMETRY > off > # as expected > > ❯ go env -changed > # nothing printed > # as expected > > ❯ go env -u GOTELEMETRY > go: unknown go command variable GOTELEMETRY > # expected nothing printed, success > > ❯ go env -w GOTELEMETRY=on > go: unknown go command variable GOTELEMETRY > # expected nothing printed, success > > ❯ go telemetry on > # snip > # as expected > > ❯ go env | grep GOTELEMETRY= > GOTELEMETRY='on' > # as expected > > ❯ go env GOTELEMETRY > on > # as expected > > ❯ go env -changed > # nothing printed > # expected to be printed: GOTELEMETRY='on' > > ❯ go env -u GOTELEMETRY > go: unknown go command variable GOTELEMETRY > # expected nothing printed, success > > ❯ go env -w GOTELEMETRY=off > go: unknown go command variable GOTELEMETRY > # expected nothing printed, success
These issues are being discussed on https://go.dev/issue/68960. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcX6Vt8RcPrZEkeROn5xj1N2waRBvgoBuLXPSdPsT3SPiA%40mail.gmail.com.