summaryrefslogtreecommitdiffstats
path: root/doc/wish.1
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2009-03-25 23:27:08 (GMT)
committernijtmans <nijtmans@noemail.net>2009-03-25 23:27:08 (GMT)
commit84fd935108ff5151a283465b9fc7c04f067cf121 (patch)
tree4d3b5904b3621febb5d5ea054f7a8d14441683e3 /doc/wish.1
parent3ec1915d9882b60ed59ca41d27b14b6a74ce2e52 (diff)
downloadtk-84fd935108ff5151a283465b9fc7c04f067cf121.zip
tk-84fd935108ff5151a283465b9fc7c04f067cf121.tar.gz
tk-84fd935108ff5151a283465b9fc7c04f067cf121.tar.bz2
bring doc and demos in line with http://wiki.tcl.tk/812
FossilOrigin-Name: 5b70a9ed43c08e03df7daf43d0b8e943d2086b59
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