Skip to content

Commit

Permalink
Fix help message for listing scopes
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 authored Dec 20, 2023
1 parent 4864013 commit 2276681
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 2276681

Please sign in to comment.