[DOCS] `--from-pr` docs still describe GitHub-only PR URL support
Documentation Type
Incorrect/outdated documentation
Documentation Location
https://code.claude.com/docs/en/cli-reference
Section/Topic
The --from-pr flag entry in the CLI flags table, plus the resume-from-PR guidance in Common workflows.
Current Documentation
The docs currently say:
--from-pr— Resume sessions linked to a specific GitHub PR. Accepts a PR number or URL. Sessions are automatically linked when created viagh pr create.
And the workflow docs say:
When you create a PR usinggh pr create, the session is automatically linked to that PR. You can resume it later withclaude --from-pr <number>.claude --from-pr 123resumes sessions linked to a specific pull request
What's Wrong or Missing?
Changelog v2.1.119 says --from-pr now accepts GitLab merge-request URLs, Bitbucket pull-request URLs, and GitHub Enterprise PR URLs.
The current docs still frame --from-pr as GitHub-only and only show a numeric pull-request example. That leaves the CLI reference and workflow guidance outdated for users working with GitLab, Bitbucket, or GitHub Enterprise pull-request URLs.
Suggested Improvement
Update the --from-pr flag documentation to list the supported URL types explicitly instead of saying only "GitHub PR".
Suggested changes:
- In
cli-reference, describe--from-pras accepting a PR/MR number when available plus GitHub, GitHub Enterprise, GitLab merge-request, and Bitbucket pull-request URLs. - In
common-workflows, expand the resume guidance beyondclaude --from-pr 123and add URL examples for at least one non-GitHub host. - Clarify whether automatic linking via
gh pr createis GitHub-specific while manual--from-pr <url>supports additional providers.
Impact
Medium - Makes feature difficult to understand
Additional Context
Affected Pages:
| Page | Line(s) | Context |
|------|---------|---------|
| https://code.claude.com/docs/en/cli-reference | 71 | --from-pr is described as a specific GitHub PR and does not mention GitLab, Bitbucket, or GitHub Enterprise URLs |
| https://code.claude.com/docs/en/common-workflows | 360, 555 | Resume guidance only shows gh pr create linking and claude --from-pr 123 |
Total scope: 2 pages affected
Source: Changelog v2.1.119
Changelog entry: --from-pr now accepts GitLab merge-request, Bitbucket pull-request, and GitHub Enterprise PR URLs
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗