From 9e8aecc5494b543c797a235caaf4b572ccf2115d Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Wed, 15 Jan 2025 16:53:15 -0500 Subject: [PATCH] Minor fix to `--no-redirect` flag help (#562) Co-authored-by: Paul Paterson --- src/commands/login.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/login.mjs b/src/commands/login.mjs index 17c5f7d3..1eb253c9 100644 --- a/src/commands/login.mjs +++ b/src/commands/login.mjs @@ -107,7 +107,7 @@ function buildLoginCommand(yargs) { alias: "n", type: "boolean", description: - "Login without redirecting to a local callback server. Use this option if you are unable to open a browser on your local machine.", + "Log in without redirecting to a local callback server. Use this option if you are unable to open a browser on your local machine.", default: false, }, user: { @@ -120,6 +120,10 @@ function buildLoginCommand(yargs) { .example([ ["$0 login", "Log in as the 'default' user."], ["$0 login --user john_doe", "Log in as the 'john_doe' user."], + [ + "$0 login --user john_doe --no-redirect", + "Log in without redirecting to a local callback server.", + ], ]); }