From c16becc07ecbcf021b9e67971378eb92363c8d1c Mon Sep 17 00:00:00 2001 From: William Martin Date: Tue, 23 Jul 2024 16:44:49 +0200 Subject: [PATCH] Slightly clarify when CLI will exit with 4 --- pkg/cmd/root/help_topic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/root/help_topic.go b/pkg/cmd/root/help_topic.go index f04a573fd..4786a993b 100644 --- a/pkg/cmd/root/help_topic.go +++ b/pkg/cmd/root/help_topic.go @@ -266,7 +266,7 @@ var HelpTopics = []helpTopic{ - If a command is running but gets cancelled, the exit code will be 2 - - If a command encounters an authentication issue, the exit code will be 4 + - If a command requires authentication, the exit code will be 4 NOTE: It is possible that a particular command may have more exit codes, so it is a good practice to check documentation for the command if you are relying on exit codes to