diff --git a/CHANGELOG.md b/CHANGELOG.md index 98cd2a4e..446c6c04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- Added `-n` as an alias to `--dry` + ([#776](https://github.com/go-task/task/issues/776), [#777](https://github.com/go-task/task/pull/777)). - Fix behavior of interrupt (SIGINT, SIGTERM) signals. Task will now give time for the processes running to do cleanup work ([#458](https://github.com/go-task/task/issues/458), [#479](https://github.com/go-task/task/pull/479), [#728](https://github.com/go-task/task/issues/728)). diff --git a/docs/docs/api_reference.md b/docs/docs/api_reference.md index 6bb6549b..9e56f108 100644 --- a/docs/docs/api_reference.md +++ b/docs/docs/api_reference.md @@ -25,7 +25,7 @@ variable | `-c` | `--color` | `bool` | `true` | Colored output. Enabled by default. Set flag to `false` or use `NO_COLOR=1` to disable. | | `-C` | `--concurrency` | `int` | `0` | Limit number tasks to run concurrently. Zero means unlimited. | | `-d` | `--dir` | `string` | Working directory | Sets directory of execution. | -| '-n' | `--dry` | `bool` | `false` | Compiles and prints tasks in the order that they would be run, without executing them. | +| `-n` | `--dry` | `bool` | `false` | Compiles and prints tasks in the order that they would be run, without executing them. | | `-x` | `--exit-code` | `bool` | `false` | Pass-through the exit code of the task command. | | `-f` | `--force` | `bool` | `false` | Forces execution even when the task is up-to-date. | | `-h` | `--help` | `bool` | `false` | Shows Task usage. |