summaryrefslogtreecommitdiffstats
path: root/doc/wish.1
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 17:07:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 17:07:03 (GMT)
commite8fb7d316cdd838a4bd4658932ec3a567eb20e50 (patch)
treeede464725f08f61d3a9f02c9fb0f4dd58b1e211f /doc/wish.1
parent827d1a2f9c38c69cc63f1d4734d916d0e9885498 (diff)
parent7c0ca69d2510691fb2f0644a3146e9d9d2d90d0a (diff)
downloadtk-e8fb7d316cdd838a4bd4658932ec3a567eb20e50.zip
tk-e8fb7d316cdd838a4bd4658932ec3a567eb20e50.tar.gz
tk-e8fb7d316cdd838a4bd4658932ec3a567eb20e50.tar.bz2
[Bug 1945073]: Demo square.tcl cannot run; need package tktest
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