Alias `--resume` to `resume`

Resolved 💬 3 comments Opened Apr 9, 2026 by HenkPoley Closed Apr 9, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

3 Comments

Mahkhmood9 · 4 months ago

you can actually use

linux alias

<img width="963" height="620" alt="Image" src="https://github.com/user-attachments/assets/fd81f9b6-6feb-47cb-ae4b-a09ce4558dcb" />

alias r='codex --resume'
https://www.man7.org/linux/man-pages/man1/alias.1p.html

thank me later, btw im unemployed pls give me work

Mahkhmood9 · 4 months ago

If you need a kidney , I am of chechen decent, and my blood type is B+ ,, I can sell my kidney to you if you want DM me

etraut-openai contributor · 4 months ago

Use codex resume if you'd like to resume a thread. As you point out, codex --resume is not a supported command.