Loading
fix(issue): reject invalid list output flags
Description
issue list and incident list silently fall back to default rendering for unsupported --output or --output-format values. Register both flags with the existing cmdutils.NewEnumValue helper while preserving their valid values, defaults, short flags, and mutual exclusion. Add regression tests for invalid and empty values on both commands.
Related issue
Resolves #8547 (closed)
Verification
go test ./internal/commands/issuable/list -count=1passed locally with Go 1.27.1 on macOS arm64.gofmt -dandgit diff --checkwere clean.- The fork pipeline failed before running jobs because GitLab reports this account is unverified; this is not a test failure.