From 0be05795b9b97115d9f5975b9833a01c51f96a76 Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Wed, 18 Sep 2024 20:16:59 -0500 Subject: [PATCH] docs: exit code zero is not an error (#1811) --- website/docs/reference/cli.mdx | 5 +++-- website/versioned_docs/version-latest/reference/cli.mdx | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/website/docs/reference/cli.mdx b/website/docs/reference/cli.mdx index f94f97c5..9beb1a83 100644 --- a/website/docs/reference/cli.mdx +++ b/website/docs/reference/cli.mdx @@ -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) diff --git a/website/versioned_docs/version-latest/reference/cli.mdx b/website/versioned_docs/version-latest/reference/cli.mdx index f94f97c5..9beb1a83 100644 --- a/website/versioned_docs/version-latest/reference/cli.mdx +++ b/website/versioned_docs/version-latest/reference/cli.mdx @@ -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)