Skip to content

fix(cli): accept --mode <x> and bare mode name (not only --mode=<x>)#97

Merged
detain merged 1 commit into
masterfrom
ai/robust-mode-flag
Jun 28, 2026
Merged

fix(cli): accept --mode <x> and bare mode name (not only --mode=<x>)#97
detain merged 1 commit into
masterfrom
ai/robust-mode-flag

Conversation

@detain

@detain detain commented Jun 28, 2026

Copy link
Copy Markdown
Owner

phlix run only recognised --mode=sixel. phlix run --mode sixel (space) or phlix run sixel silently fell back to the half-block default — which presents as every mode rendering as half-block. Now parses --mode=x, --mode x, and a bare known mode name so the selected renderer takes effect.

🤖 Generated with Claude Code

`phlix run` only recognised `--mode=sixel`. `phlix run --mode sixel` (space) or
`phlix run sixel` silently fell back to the half-block default — which looks like
every mode rendering as half-block. Parse all three forms against the known mode
list so the selected renderer actually takes effect.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@detain detain merged commit 0249c82 into master Jun 28, 2026
2 checks passed
@detain detain deleted the ai/robust-mode-flag branch June 28, 2026 00:19
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.

1 participant