From 90e9cba0045fe5454b7967edb35ccd51c5c716c7 Mon Sep 17 00:00:00 2001 From: Rita Zerrizuela Date: Fri, 2 Apr 2021 18:31:42 -0300 Subject: [PATCH] Add known issues doc URL to error message --- internal/cli/apps.go | 3 +-- internal/cli/login.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/cli/apps.go b/internal/cli/apps.go index 79ae5018b..4de6aab37 100644 --- a/internal/cli/apps.go +++ b/internal/cli/apps.go @@ -39,9 +39,8 @@ var ( Name: "None", LongForm: "none", ShortForm: "n", - Help: "Specify none of your apps", + Help: "Specify none of your apps.", } - appType = Flag{ Name: "Type", LongForm: "type", diff --git a/internal/cli/login.go b/internal/cli/login.go index d578019ee..cc5ba1f1f 100644 --- a/internal/cli/login.go +++ b/internal/cli/login.go @@ -68,7 +68,7 @@ func RunLogin(ctx context.Context, cli *cli, expired bool) error { err = secretsStore.Set(auth.SecretsNamespace, res.Tenant, res.RefreshToken) if err != nil { // log the error but move on - cli.renderer.Warnf("Could not store the refresh token locally, please expect to login again once your access token expired: %s.", err.Error()) + cli.renderer.Warnf("Could not store the refresh token locally, please expect to login again once your access token expired. See https://github.com/auth0/auth0-cli/blob/main/KNOWN-ISSUES.md.") } err = cli.addTenant(tenant{