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