[DOCS] CLI reference missing --from-pr flag for PR-linked session resume
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://code.claude.com/docs/en/cli-reference
Section/Topic
CLI flags table
Current Documentation
The CLI flags table documents --resume and --continue for session management, but does not include the --from-pr flag:
| `--resume`, `-r` | Resume a specific session by ID or name, or show an interactive picker to choose a session | `claude --resume auth-refactor` |
What's Wrong or Missing?
Changelog v2.1.27 added --from-pr flag to resume sessions linked to a specific GitHub PR number or URL, but this flag is not documented in the CLI reference.
Users who want to resume sessions associated with their pull requests have no way to discover this capability through documentation.
Suggested Improvement
Add a new row to the CLI flags table:
| `--from-pr` | Resume a session linked to a specific GitHub PR number or URL | `claude --from-pr 123` or `claude --from-pr https://github.com/org/repo/pull/123` |
Also consider adding this to the "Resume or fork sessions" section in how-claude-code-works.md to explain the PR-session linking workflow.
Impact
Medium - Makes feature difficult to understand
Additional Context
Source: Changelog v2.1.27
Exact changelog entry:
Added --from-pr flag to resume sessions linked to a specific GitHub PR number or URLThis issue has 1 comment on GitHub. Read the full discussion on GitHub ↗