Fix typos

This commit is contained in:
Kian-Meng Ang 2022-06-11 18:48:47 +08:00
parent a5566e793d
commit f0020d7348
5 changed files with 8 additions and 8 deletions

View File

@ -415,7 +415,7 @@ print "hello world"
# Print with style/color values
print --style underline --color red My Bold Red Text
echo
print -s underline -s bold -c bright_green -bgc red Hellow World
print -s underline -s bold -c bright_green -bgc red Hello World
echo
```
@ -455,7 +455,7 @@ println "hello world"
# Print with style/color values
println --style underline --color red My Bold Red Text
println -s underline -s bold -c bright_green -bgc red Hellow World
println -s underline -s bold -c bright_green -bgc red Hello World
```
@ -6355,7 +6355,7 @@ handle = split text pattern
```
Splits the provided text based on the provided pattern and return a handle the
created array with all the splitted values.
created array with all the split values.
### Parameters

View File

@ -100,10 +100,10 @@ impl Display for ScriptError {
format_error_message(formatter, &meta_info, "invalid quotes location")
}
Self::EmptyLabel(ref meta_info) => {
format_error_message(formatter, &meta_info, "empty lable found")
format_error_message(formatter, &meta_info, "empty label found")
}
Self::UnknownPreProcessorCommand(ref meta_info) => {
format_error_message(formatter, &meta_info, "unknow preprocessor command")
format_error_message(formatter, &meta_info, "unknown preprocessor command")
}
}
}

View File

@ -30,6 +30,6 @@ print "hello world"
# Print with style/color values
print --style underline --color red My Bold Red Text
echo
print -s underline -s bold -c bright_green -bgc red Hellow World
print -s underline -s bold -c bright_green -bgc red Hello World
echo
```

View File

@ -27,5 +27,5 @@ println "hello world"
# Print with style/color values
println --style underline --color red My Bold Red Text
println -s underline -s bold -c bright_green -bgc red Hellow World
println -s underline -s bold -c bright_green -bgc red Hello World
```

View File

@ -3,7 +3,7 @@ handle = split text pattern
```
Splits the provided text based on the provided pattern and return a handle the
created array with all the splitted values.
created array with all the split values.
### Parameters