Verify latest release
pnpm version
11.1.2
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
gives
Version 11.1.2
Usage: pnpm login [--registry <url>]
Log in to an npm registry.
Options:
--registry <url> The registry to log in to
Visit https://pnpm.io/11.x/cli/login for documentation about this command.
The online documentation for pnpm 11.x says that the parameter --scope is supported:
pnpm login [--registry <url>] [--scope <scope>]
Trying to call it with --scope gives
[ERROR] Unknown option: 'scope'
For help, run: pnpm help login
Describe the Bug
The online documentation does not match the actual functionality.
I would really appreciate having the parameter --scope.
Expected Behavior
Documentation and actual behavior should match.
Which Node.js version are you using?
24.8.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
Verify latest release
pnpm version
11.1.2
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
gives
The online documentation for pnpm 11.x says that the parameter
--scopeis supported:Trying to call it with --scope gives
Describe the Bug
The online documentation does not match the actual functionality.
I would really appreciate having the parameter --scope.
Expected Behavior
Documentation and actual behavior should match.
Which Node.js version are you using?
24.8.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response