From eb2fec43a3f3ceeb627cf925fbe35626f68fa91f Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 14 Jul 2015 21:38:05 +0000 Subject: Spell out [info exists] in example code for [exit] command. --- doc/exit.n | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/exit.n b/doc/exit.n index ab5c87d..9b4ad20 100644 --- a/doc/exit.n +++ b/doc/exit.n @@ -35,7 +35,7 @@ proc main {} { if {[catch {main} msg options]} { puts stderr "unexpected script error: $msg" - if {[info exist env(DEBUG)]} { + if {[info exists env(DEBUG)]} { puts stderr "---- BEGIN TRACE ----" puts stderr [dict get $options -errorinfo] puts stderr "---- END TRACE ----" -- cgit v0.12