Merge pull request #9358 from cli/9338-gh-attestation-can-fail-with-http-401-without-exiting-with-exitcode-4

Slightly clarify when CLI exits with code 4
This commit is contained in:
Andy Feller 2024-07-24 11:56:03 -04:00 committed by GitHub
commit 8da9ee2437
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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