Skip to content

Commit

Permalink
cmd-ref: example for branch= with greater=
Browse files Browse the repository at this point in the history
  • Loading branch information
pyroscope committed Jun 7, 2018
1 parent 7b9f55a commit 90017ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/include-cmd-scripting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,12 @@ Conditions (if/then/else)
Using ``branch=foobar=, …`` is equivalent, just using the older command syntax for the condition.

.. code-block:: console
$ rtxmlrpc branch '' greater=value=2,value=2 cat=YES cat=NO
NO
$ rtxmlrpc branch '' greater=value=4,value=2 cat=YES cat=NO
YES
**TODO:** More examples, using or/and/not and other more complex constructs.

Expand Down

0 comments on commit 90017ae

Please sign in to comment.