Skip to content

Fix deprecated login --api-key parsing#16658

Merged
etraut-openai merged 1 commit intomainfrom
etraut/api-key-cli
Apr 3, 2026
Merged

Fix deprecated login --api-key parsing#16658
etraut-openai merged 1 commit intomainfrom
etraut/api-key-cli

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai commented Apr 3, 2026

Addresses #16655

Problem: codex login --api-key failed in Clap before Codex could show the deprecation guidance.

Solution: Allow the hidden --api-key flag to parse with zero or one values so both forms reach the --with-api-key message.

@etraut-openai etraut-openai merged commit 8cd7f20 into main Apr 3, 2026
29 of 30 checks passed
@etraut-openai etraut-openai deleted the etraut/api-key-cli branch April 3, 2026 05:43
@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants