summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/tclsh.12
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tclsh.1 b/doc/tclsh.1
index f604c2e..d9fe95e 100644
--- a/doc/tclsh.1
+++ b/doc/tclsh.1
@@ -75,7 +75,7 @@ following three lines:
.CS
\fB#!/bin/sh
# the next line restarts using tclsh \e
-exec tclsh "$0" "$@"\fR
+exec tclsh "$0" ${1+"$@"}\fR
.CE
This approach has three advantages over the approach in the previous
paragraph. First, the location of the \fBtclsh\fR binary does not have