From ae3e879480a099304c5ad607ff4916d840f1feae Mon Sep 17 00:00:00 2001 From: Tony F Date: Mon, 15 May 2023 10:49:45 -0500 Subject: [PATCH] Mention setting GH_ENTERPRISE_TOKEN When GH_HOST is set --- pkg/cmd/root/help_topic.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/cmd/root/help_topic.go b/pkg/cmd/root/help_topic.go index 18a7f4801..7db694668 100644 --- a/pkg/cmd/root/help_topic.go +++ b/pkg/cmd/root/help_topic.go @@ -50,7 +50,8 @@ var HelpTopics = []helpTopic{ token for API requests to GitHub Enterprise. When setting this, also set GH_HOST. GH_HOST: specify the GitHub hostname for commands that would otherwise assume the - "github.com" host when not in a context of an existing repository. + "github.com" host when not in a context of an existing repository. When setting this, + also set GH_ENTERPRISE_TOKEN. GH_REPO: specify the GitHub repository in the "[HOST/]OWNER/REPO" format for commands that otherwise operate on a local repository.