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 20d54e2..5724062 100644
--- a/doc/wish.1
+++ b/doc/wish.1
@@ -147,7 +147,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 doesn't have