Skip to content

fix(PL-4460): remove non-functional --releases flag from joy rel list#267

Merged
nwaller-nesto merged 1 commit into
masterfrom
fix/PL-4460/remove-releases-flag-from-rel-list
May 15, 2026
Merged

fix(PL-4460): remove non-functional --releases flag from joy rel list#267
nwaller-nesto merged 1 commit into
masterfrom
fix/PL-4460/remove-releases-flag-from-rel-list

Conversation

@nwaller-nesto
Copy link
Copy Markdown
Contributor

@nwaller-nesto nwaller-nesto commented May 15, 2026

What

Removes the `--releases` / `-r` flag from `joy rel list`. The flag variable, its registration, and the dead error-check that fired when it was used are all deleted.

Why

In #143 (PL-2602) the `--releases` flag was superseded by a positional comma-separated release pattern argument. At that point the flag was wired to immediately return an error, but was never removed from the command — leaving it visible in `--help` while being completely non-functional.

Test Plan

  • `go build ./...` passes cleanly
  • `joy rel list --help` no longer shows `--releases` or `-r`
  • Verified the positional argument path (`joy rel list my-release`) is untouched

References

The flag was already returning an error on use; remove it entirely so it
no longer appears in the help text.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nwaller-nesto nwaller-nesto marked this pull request as ready for review May 15, 2026 18:28
Copy link
Copy Markdown
Contributor

@silphid silphid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nwaller-nesto nwaller-nesto merged commit 6da4194 into master May 15, 2026
6 checks passed
@nwaller-nesto nwaller-nesto deleted the fix/PL-4460/remove-releases-flag-from-rel-list branch May 15, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants