1
0
mirror of https://github.com/go-task/task.git synced 2024-12-12 10:45:49 +02:00

docs: fix two minor typos in usage.md (#1254)

This commit is contained in:
Steve Russo 2023-07-06 16:31:26 -04:00 committed by GitHub
parent ee2e939d13
commit a4d242680b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1260,7 +1260,8 @@ tasks:
## Warning Prompts
Warning Prompts to prompt a user for confirmation before a task is executed.
Warning Prompts are used to prompt a user for confirmation before a task is
executed.
Below is an example using `prompt` with a dangerous command, that is called
between two safe commands:
@ -1314,7 +1315,7 @@ automatically confirmed, and no prompts will be shown.
:::caution
Tasks with prompts always fail by default on non-terminal environments, like a
CI, where an `stdin` won't be available for the user to answer. In cases like,
CI, where an `stdin` won't be available for the user to answer. In those cases,
use `--yes` (`-y`) to force all tasks with a prompt to run.
:::