summaryrefslogtreecommitdiffstats
path: root/doc/wish.1
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2011-11-22 17:07:03 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2011-11-22 17:07:03 (GMT)
commit14c1e5a7f8cd3561973137f9db0fdd8c6f04d09d (patch)
treeede464725f08f61d3a9f02c9fb0f4dd58b1e211f /doc/wish.1
parent31c3e130f9a6d96cbe9512df52dceb732f5e7317 (diff)
parentaf8629dba394f92fa3cc3428c601f7e4cea949be (diff)
downloadtk-14c1e5a7f8cd3561973137f9db0fdd8c6f04d09d.zip
tk-14c1e5a7f8cd3561973137f9db0fdd8c6f04d09d.tar.gz
tk-14c1e5a7f8cd3561973137f9db0fdd8c6f04d09d.tar.bz2
[Bug 1945073]: Demo square.tcl cannot run; need package tktest
FossilOrigin-Name: 8ef7384bc924a7b400e0b9fd11484fecb6b7f886
Diffstat (limited to 'doc/wish.1')
-rw-r--r--doc/wish.12
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/wish.1 b/doc/wish.1
index ca62120..28ec138 100644
--- a/doc/wish.1
+++ b/doc/wish.1
@@ -166,7 +166,7 @@ following three lines:
.CS
\fB#!/bin/sh
# the next line restarts using wish \e
-exec wish "$0" "$@"\fR
+exec wish "$0" ${1+"$@"}\fR
.CE
This approach has three advantages over the approach in the previous
paragraph. First, the location of the \fBwish\fR binary does not have