/fork outputs incorrect resume command that errors
Resolved 💬 3 comments Opened Mar 22, 2026 by alex-foster-personal Closed Mar 25, 2026
Bug
/fork outputs a resume command that doesn't work:
Forked conversation. You are now in the fork.
To resume the original: claude -r cd2f8746-380d-41db-b0c1-f4d14c2ab497
Running the suggested command errors:
Error: --session-id can only be used with --continue or --resume if --fork-session is also specified
Expected
The output should suggest claude -c <id> (continue), not claude -r <id> (resume), since -r/--resume on a forked session requires the --fork-session flag.
Alternatively, if -r is intended, the output should include the --fork-session flag with the correct fork ID.
Environment
- Claude Code v2.1.74
- macOS (Darwin 24.4.0)
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗