mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
docs: exit code zero is not an error (#1811)
This commit is contained in:
@@ -53,9 +53,10 @@ If `--` is given, all remaining arguments will be assigned to a special
|
|||||||
## Exit Codes
|
## Exit Codes
|
||||||
|
|
||||||
Task will sometimes exit with specific exit codes. These codes are split into
|
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)
|
- Taskfile errors (100-199)
|
||||||
- Task errors (200-299)
|
- Task errors (200-299)
|
||||||
|
|
||||||
|
@@ -53,9 +53,10 @@ If `--` is given, all remaining arguments will be assigned to a special
|
|||||||
## Exit Codes
|
## Exit Codes
|
||||||
|
|
||||||
Task will sometimes exit with specific exit codes. These codes are split into
|
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)
|
- Taskfile errors (100-199)
|
||||||
- Task errors (200-299)
|
- Task errors (200-299)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user