summaryrefslogtreecommitdiffstats
path: root/doc/SystemTap_Beginners_Guide/en-US
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-12-15 14:34:14 -0500
committerWilliam Cohen <wcohen@redhat.com>2008-12-15 14:34:14 -0500
commit1179271f9a422edf543178d2d02d2bf38334e697 (patch)
treef016665bcb0a8419a1ff6b6d28cbe580a2cf723a /doc/SystemTap_Beginners_Guide/en-US
parentcffd1e12179857f6fc50d848c7ecc35742aca75e (diff)
downloadsystemtap-steved-1179271f9a422edf543178d2d02d2bf38334e697.tar.gz
systemtap-steved-1179271f9a422edf543178d2d02d2bf38334e697.tar.xz
systemtap-steved-1179271f9a422edf543178d2d02d2bf38334e697.zip
Clarify optional else clause.
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/en-US')
-rw-r--r--doc/SystemTap_Beginners_Guide/en-US/ScriptConstructs.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/SystemTap_Beginners_Guide/en-US/ScriptConstructs.xml b/doc/SystemTap_Beginners_Guide/en-US/ScriptConstructs.xml
index 2550efce..89334eff 100644
--- a/doc/SystemTap_Beginners_Guide/en-US/ScriptConstructs.xml
+++ b/doc/SystemTap_Beginners_Guide/en-US/ScriptConstructs.xml
@@ -177,7 +177,8 @@ The <command><replaceable>statement1</replaceable></command> is executed if the
<command><replaceable>condition</replaceable></command> expression is
non-zero. The <command><replaceable>statement2</replaceable></command> is
executed if the <command><replaceable>condition</replaceable></command>
-expression is zero. The <command>else</command> is optional. Both
+expression is zero. The <command>else</command> clause
+(<command>else</command> <replaceable>statement2</replaceable>)is optional. Both
<command><replaceable>statement1</replaceable></command> and
<command><replaceable>statement2</replaceable></command> can be statement
blocks.