Skip to content

Commit

Permalink
update man page for 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed May 16, 2023
1 parent a4c0f12 commit e82bf2e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions spot.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "SPOT" 1 v1.1.0 20230514T060324 spot manual
.TH "SPOT" 1 1.2.0 spot manual
.\" Automatically generated by Pandoc 3.1.2
.\"
.\" Define V font for inline verbatim, using C font in formats
Expand Down Expand Up @@ -515,6 +515,11 @@ before executing the next command.
Allows to specify the timeout as well as check interval.
Example:
\f[V]wait: {\[dq]cmd\[dq]: \[dq]curl -s --fail localhost:8080\[dq], \[dq]timeout\[dq]: \[dq]30s\[dq], \[dq]interval\[dq]: \[dq]1s\[dq]}\f[R]
.IP \[bu] 2
\f[V]echo\f[R]: prints the specified message to the console.
Example: \f[V]echo: \[dq]Hello World $some_var\[dq]\f[R].
This command is useful for debugging purposes and also to print the
value of variables to the console.
.SS Command options
.PP
Each command type supports the following options:
Expand Down Expand Up @@ -550,7 +555,11 @@ remote host(s) and if it returns 0, the primary command will be
executed.
For example, \f[V]cond: \[dq]test -f /tmp/foo\[dq]\f[R] will execute the
primary script command only if the file \f[V]/tmp/foo\f[R] exists.
\f[V]cond\f[R] option supported for \f[V]script\f[R] command type only.
Condition can be inverted by adding \f[V]!\f[R] prefix, i.e.
\f[V]! test -f /tmp/foo\f[R] will pass only if file \f[V]/tmp/foo\f[R]
doesn\[aq]t exist.
Please note that \f[V]cond\f[R] option supported for \f[V]script\f[R]
command type only.
.PP
example setting \f[V]ignore_errors\f[R], \f[V]no_auto\f[R] and
\f[V]only_on\f[R] options:
Expand Down

0 comments on commit e82bf2e

Please sign in to comment.