From d7c76709a97e921195c2768cc0edccf0f258a97b Mon Sep 17 00:00:00 2001 From: Cleve Littlefield Date: Mon, 9 Oct 2023 16:49:18 -0700 Subject: [PATCH] Small help text fix (#82) * Small help text fix * fix 2 other instances --- cmd/esc/cli/login.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/esc/cli/login.go b/cmd/esc/cli/login.go index 9cbeb4be..58b19bdb 100644 --- a/cmd/esc/cli/login.go +++ b/cmd/esc/cli/login.go @@ -30,7 +30,7 @@ func newLoginCmd(esc *escCommand) *cobra.Command { "\n" + "The Pulumi Cloud manages your Pulumi ESC environments. Simply run\n" + "\n" + - " $ pulumi login\n" + + " $ esc login\n" + "\n" + "and this command will prompt you for an access token, including a way to launch your web browser to\n" + "easily obtain one. You can script by using `PULUMI_ACCESS_TOKEN` environment variable.\n" + @@ -38,7 +38,7 @@ func newLoginCmd(esc *escCommand) *cobra.Command { "By default, this will log in to the managed Pulumi Cloud backend.\n" + "If you prefer to log in to a self-hosted Pulumi Cloud backend, specify a URL. For example, run\n" + "\n" + - " $ pulumi login https://api.pulumi.acmecorp.com\n" + + " $ esc login https://api.pulumi.acmecorp.com\n" + "\n" + "to log in to a self-hosted Pulumi Cloud running at the api.pulumi.acmecorp.com domain.\n" + "\n" + @@ -76,7 +76,7 @@ func newLoginCmd(esc *escCommand) *cobra.Command { switch { case isInvalidSelfHostedURL(backendURL): return fmt.Errorf("%s is not a valid self-hosted backend, "+ - "use `pulumi login` without arguments to log into the Pulumi Cloud backend", backendURL) + "use `esc login` without arguments to log into the Pulumi Cloud backend", backendURL) case filestate.IsFileStateBackendURL(backendURL): return fmt.Errorf("%s does not support Pulumi ESC.", backendURL) }