Tweak the readme a bit to include recent syntax changes

This commit is contained in:
R Tyler Croy 2020-12-31 14:40:08 -08:00
parent b35801a609
commit 59d44d7e0f
2 changed files with 9 additions and 8 deletions

4
Cargo.lock generated
View File

@ -497,9 +497,9 @@ dependencies = [
[[package]]
name = "smallvec"
version = "1.5.1"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae524f056d7d770e174287294f562e95044c68e88dec909a00d2094805db9d75"
checksum = "1a55ca5f3b68e41c979bf8c46a6f1da892ca4db8f94023ce0bd32407573b1ac0"
[[package]]
name = "ssh2"

View File

@ -57,13 +57,13 @@ task Echo {
parameters {
msg {
required = true
help = "String to echo back to the client"
help = 'String to echo back to the client'
type = string
}
}
script {
inline = "echo {{msg}}"
inline = 'echo {{msg}}'
}
}
----
@ -78,11 +78,12 @@ will be executed in the order that they are defined.
.simple.zplan
[source]
----
task "tasks/echo.ztask" {
msg = "Hello from the wonderful world of zplans!"
task 'tasks/echo.ztask' {
msg = 'Hello from the wonderful world of zplans!'
}
task "tasks/echo.ztask" {
msg = "This is nice"
task 'tasks/echo.ztask' {
msg = 'This is nice'
}
----