claude resume (without --) silently starts new session instead of warning
Open 💬 0 comments Opened Jun 28, 2026 by pixelbroker
Summary
Running claude resume (positional argument) instead of claude --resume (flag) silently starts a new session with the literal word "resume" as the prompt. The user loses all conversation history while filesystem context (cwd, git state) is re-captured fresh — making it look superficially like a resume until the missing thread is noticed.
Expected behavior
One of:
- Warn:
Did you mean: claude --resume?and exit non-zero, OR - Detect the common typo and treat it as
--resumewith a notice
Actual behavior
A brand-new session starts. No warning, no error. Prior conversation context is silently discarded.
Why it matters
resumeis a natural English word that users type as a positional arg by reflex- The failure is silent and partially masked (filesystem context re-populates, so it _looks_ like a resume)
- By the time the user realizes their history is gone, the window to
--resumeback may be lost
Workaround
Shell alias: alias cresume='claude --resume'
🤖 Generated with Claude Code