mirror of
				https://github.com/go-task/task.git
				synced 2025-10-30 23:58:01 +02:00 
			
		
		
		
	Docs: Fix some typos
This commit is contained in:
		| @@ -72,7 +72,7 @@ Both methods requires having the [Go][go] environment properly setup locally. | |||||||
| ## Install script | ## Install script | ||||||
|  |  | ||||||
| We also have a [install script][installscript], which is very useful on | We also have a [install script][installscript], which is very useful on | ||||||
| scanarios like CIs. Many thanks to [godownloader][godownloader] for allowing | scenarios like CIs. Many thanks to [godownloader][godownloader] for allowing | ||||||
| easily generating this script. | easily generating this script. | ||||||
|  |  | ||||||
| ```bash | ```bash | ||||||
|   | |||||||
| @@ -473,7 +473,7 @@ Task also adds the following functions: | |||||||
| - `catLines`: Replaces Unix (\n) and Windows (\r\n) styled newlines with a space. | - `catLines`: Replaces Unix (\n) and Windows (\r\n) styled newlines with a space. | ||||||
| - `toSlash`: Does nothing on Unix, but on Windows converts a string from `\` | - `toSlash`: Does nothing on Unix, but on Windows converts a string from `\` | ||||||
|   path format to `/`. |   path format to `/`. | ||||||
| - `fromSlash`: Oposite of `toSlash`. Does nothing on Unix, but on Windows | - `fromSlash`: Opposite of `toSlash`. Does nothing on Unix, but on Windows | ||||||
|   converts a string from `\` path format to `/`. |   converts a string from `\` path format to `/`. | ||||||
| - `exeExt`: Returns the right executable extension for the current OS | - `exeExt`: Returns the right executable extension for the current OS | ||||||
|   (`".exe"` for Windows, `""` for others). |   (`".exe"` for Windows, `""` for others). | ||||||
| @@ -506,7 +506,7 @@ tasks: | |||||||
| ## Help | ## Help | ||||||
|  |  | ||||||
| Running `task --list` (or `task -l`) lists all tasks with a description. | Running `task --list` (or `task -l`) lists all tasks with a description. | ||||||
| The following taskfile: | The following Taskfile: | ||||||
|  |  | ||||||
| ```yaml | ```yaml | ||||||
| version: '2' | version: '2' | ||||||
| @@ -593,7 +593,7 @@ tasks: | |||||||
|  |  | ||||||
| * Or globally with `--silent` or `-s` flag | * Or globally with `--silent` or `-s` flag | ||||||
|  |  | ||||||
| If you want to suppress stdout instead, just redirect a command to `/dev/null`: | If you want to suppress STDOUT instead, just redirect a command to `/dev/null`: | ||||||
|  |  | ||||||
| ```yaml | ```yaml | ||||||
| version: '2' | version: '2' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user