[BUG] `claude -r` without arguments causes "--session-id" error in v2.1.81

Resolved 💬 3 comments Opened Mar 21, 2026 by DaleSeo Closed Mar 25, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Running claude -r without arguments produces an error instead of showing the picker.

What Should Happen?

claude -r should open an interactive session picker (equivalent to claude --resume).

Error Messages/Logs

Error: --session-id can only be used with --continue or --resume if --fork-session is also specified.

Steps to Reproduce

claude -r

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.81

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Workaround: Use claude --resume (full flag) instead.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗