summaryrefslogtreecommitdiffstats
path: root/doc/wish.1
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-03-25 23:27:09 (GMT)
committernijtmans <nijtmans>2009-03-25 23:27:09 (GMT)
commit5a34c96d286d804fdd67a94c1d475b9188ec469d (patch)
tree4d3b5904b3621febb5d5ea054f7a8d14441683e3 /doc/wish.1
parent6e45c77b9e39f3821b86a7d767a179e1f8275984 (diff)
downloadtk-5a34c96d286d804fdd67a94c1d475b9188ec469d.zip
tk-5a34c96d286d804fdd67a94c1d475b9188ec469d.tar.gz
tk-5a34c96d286d804fdd67a94c1d475b9188ec469d.tar.bz2
bring doc and demos in line with http://wiki.tcl.tk/812
Diffstat (limited to 'doc/wish.1')
-rw-r--r--doc/wish.14
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/wish.1 b/doc/wish.1
index 96973a8..c23fa57 100644
--- a/doc/wish.1
+++ b/doc/wish.1
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: wish.1,v 1.11 2008/06/30 22:57:03 dkf Exp $
+'\" RCS: @(#) $Id: wish.1,v 1.12 2009/03/25 23:27:23 nijtmans Exp $
'\"
.so man.macros
.TH wish 1 8.0 Tk "Tk Applications"
@@ -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