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 76323f1..53782a6 100644
--- a/doc/tclsh.1
+++ b/doc/tclsh.1
@@ -68,7 +68,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 doesn't have