summaryrefslogtreecommitdiffstats
path: root/doc/apply.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/apply.n')
-rw-r--r--doc/apply.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/apply.n b/doc/apply.n
index 1e69e69..91e6bf0 100644
--- a/doc/apply.n
+++ b/doc/apply.n
@@ -82,10 +82,10 @@ The \fBapply\fR command is also useful for defining callbacks for use in the
\fBtrace\fR command:
.CS
set vbl "123abc"
-trace add variable vbl write {\fBapply\fR {v1 v2 op} {
+trace add variable vbl write {\fBapply\fR {{v1 v2 op} {
upvar 1 $v1 v
puts "updated variable to \\"$v\\""
-}}
+}}}
set vbl 123
set vbl abc
.CE