Skip to content

Commit 0be0579

Browse files
authored
docs: exit code zero is not an error (#1811)
1 parent 08a2a91 commit 0be0579

File tree

2 files changed

+6
-4
lines changed
  • website

2 files changed

+6
-4
lines changed

website/docs/reference/cli.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ If `--` is given, all remaining arguments will be assigned to a special
5353
## Exit Codes
5454

5555
Task will sometimes exit with specific exit codes. These codes are split into
56-
three groups with the following ranges:
56+
four groups with the following ranges:
5757

58-
- General errors (0-99)
58+
- Success (0)
59+
- General errors (1-99)
5960
- Taskfile errors (100-199)
6061
- Task errors (200-299)
6162

website/versioned_docs/version-latest/reference/cli.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ If `--` is given, all remaining arguments will be assigned to a special
5353
## Exit Codes
5454

5555
Task will sometimes exit with specific exit codes. These codes are split into
56-
three groups with the following ranges:
56+
four groups with the following ranges:
5757

58-
- General errors (0-99)
58+
- Success (0)
59+
- General errors (1-99)
5960
- Taskfile errors (100-199)
6061
- Task errors (200-299)
6162

0 commit comments

Comments
 (0)