smalltalk
changeset 286 fda97c47baa6
parent 281 3c2e6f8ca288
child 314 7fbaf542c38c
--- a/smalltalk	Sat May 30 00:42:35 1998 +0200
+++ b/smalltalk	Sat May 30 15:41:30 1998 +0200
@@ -29,6 +29,20 @@
 
 STX=stx
 
+if [ "$1" = "--help" ]
+then
+    echo
+    echo "usage: smalltalk [-x prog] [-X dir] [-ldd] stx-args"
+    echo
+    echo "Args to the smalltalk startup shell script:"
+    echo "   -x prog    use prog instead of stx as executable"
+    echo "   -X dir     use stx from dir instead of default (PATH)"
+    echo "   -ldd       show which shared libraries are used"
+    echo "   stx-args   stx arguments as follows."
+    echo
+    echo "STX args:"
+fi
+
 if [ "$1" = "-x" ]
 then
     shift