1
0
mirror of https://github.com/go-task/task.git synced 2025-03-17 21:08:01 +02:00

docs: exit code zero is not an error (#1811)

This commit is contained in:
Samuel Marks 2024-09-18 20:16:59 -05:00 committed by GitHub
parent 08a2a91180
commit 0be05795b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -53,9 +53,10 @@ If `--` is given, all remaining arguments will be assigned to a special
## Exit Codes
Task will sometimes exit with specific exit codes. These codes are split into
three groups with the following ranges:
four groups with the following ranges:
- General errors (0-99)
- Success (0)
- General errors (1-99)
- Taskfile errors (100-199)
- Task errors (200-299)

View File

@ -53,9 +53,10 @@ If `--` is given, all remaining arguments will be assigned to a special
## Exit Codes
Task will sometimes exit with specific exit codes. These codes are split into
three groups with the following ranges:
four groups with the following ranges:
- General errors (0-99)
- Success (0)
- General errors (1-99)
- Taskfile errors (100-199)
- Task errors (200-299)