codex - 💡(How to fix) Fix Alias `--resume` to `resume` [3 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17195Fetched 2026-04-10 03:44:12
View on GitHub
Comments
3
Participants
3
Timeline
6
Reactions
0
Author
Timeline (top)
commented ×3labeled ×2closed ×1

Error Message

codex --resume error: unexpected argument '--resume' found

tip: a similar argument exists: '--remote'

Usage: codex [OPTIONS] [PROMPT] codex [OPTIONS] <COMMAND> [ARGS]

For more information, try '--help'.

Code Example

> codex --resume
error: unexpected argument '--resume' found

  tip: a similar argument exists: '--remote'

Usage: codex [OPTIONS] [PROMPT]
       codex [OPTIONS] <COMMAND> [ARGS]

For more information, try '--help'.
RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

CLI

What feature would you like to see?

Silly suggestion, but if you type code --resume Codex CLI just gets confused.

> codex --resume
error: unexpected argument '--resume' found

  tip: a similar argument exists: '--remote'

Usage: codex [OPTIONS] [PROMPT]
       codex [OPTIONS] <COMMAND> [ARGS]

For more information, try '--help'.

Additional information

No response

extent analysis

TL;DR

The issue can likely be resolved by using the correct argument instead of --resume, potentially --remote as suggested by the error message.

Guidance

  • Review the Codex CLI documentation to understand the available commands and arguments.
  • Try using the suggested --remote argument instead of --resume to see if it achieves the desired functionality.
  • If the goal is to resume a previous session or operation, check if there's a different argument or command that supports this feature.
  • Verify the version of Codex CLI being used to ensure it's up-to-date and supports the desired functionality.

Example

No code snippet is provided as the issue is related to command-line arguments rather than code.

Notes

The solution assumes that the --remote argument is relevant to the desired functionality. If not, further investigation into the Codex CLI documentation or support resources may be necessary.

Recommendation

Apply workaround: Try using the --remote argument or explore other available commands and arguments to find the correct way to resume a session or operation, as the current --resume argument is not supported.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Alias `--resume` to `resume` [3 comments, 3 participants]