summaryrefslogtreecommitdiffstats
path: root/library/demos/hello
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 /library/demos/hello
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 'library/demos/hello')
-rw-r--r--library/demos/hello4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/hello b/library/demos/hello
index 6461f46..7c47669 100644
--- a/library/demos/hello
+++ b/library/demos/hello
@@ -1,12 +1,12 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# hello --
# Simple Tk script to create a button that prints "Hello, world".
# Click on the button to terminate the program.
#
-# RCS: @(#) $Id: hello,v 1.4 2003/09/30 14:54:30 dkf Exp $
+# RCS: @(#) $Id: hello,v 1.5 2009/03/25 23:27:09 nijtmans Exp $
package require Tk