in cmd/k6ctl/cli_version.go [14:20]
func (c *CLIVersion) BeforeApply() error { if c.Output == nil { c.Output = os.Stderr } return nil }