Improve the readability of the ?ELSIF example

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-07-02 11:51:14 -07:00
parent f0b5ee4cdb
commit 74f831a73e

View File

@ -1614,17 +1614,17 @@ SHELL cat /etc/shorewall/rules.d/*.rules 2&gt; /dev/null || true</programlisting
<para>Example:</para>
<programlisting>?IF <replaceable>expression1
<programlisting>?IF <replaceable>expression-1
</replaceable>&lt;lines to be included if expression1 evaluates to true (non-empty and non-zero)
</replaceable>&lt;lines to be included if expression-1 evaluates to true (non-empty and non-zero)
?ELSIF <replaceable>expression12</replaceable>
?ELSIF <replaceable>expression1-2</replaceable>
&lt;lines to be included if expression1 evaluates to false (zero or empty) and expression2 evaluates to true
&lt;lines to be included if expression-1 evaluates to false (zero or empty) and expression-2 evaluates to true
?ELSIF <replaceable>expression3
?ELSIF <replaceable>expression-3
</replaceable>
&lt;lines to be included if expression1 and expression2 both evalute to false and expression3 evalutes to true
&lt;lines to be included if expression-1 and expression-2 both evalute to false and expression-3 evalutes to true
?ELSE