Skip to content

Commit

Permalink
Fix help message for listing scopes (#4647)
Browse files Browse the repository at this point in the history
The actual command is `--scopes-list` but the error today says it is `--list-scopes`
  • Loading branch information
irvinebroque committed Dec 22, 2023
1 parent 4e5ed0b commit 0f424cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wrangler/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export function createCLIParser(argv: string[]) {
}
if (!validateScopeKeys(args.scopes)) {
throw new CommandLineArgsError(
`One of ${args.scopes} is not a valid authentication scope. Run "wrangler login --list-scopes" to see the valid scopes.`
`One of ${args.scopes} is not a valid authentication scope. Run "wrangler login --scopes-list" to see the valid scopes.`
);
}
await login({ scopes: args.scopes, browser: args.browser });
Expand Down

0 comments on commit 0f424cf

Please sign in to comment.