summaryrefslogtreecommitdiffstats
path: root/doc/wish.1
diff options
context:
space:
mode:
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