mirror of
https://github.com/sagiegurari/duckscript
synced 2024-10-02 22:24:40 +00:00
Fix typos
This commit is contained in:
parent
a5566e793d
commit
f0020d7348
|
@ -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
|
||||
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue