Index: trunk/doc/modules/modules-delta
===================================================================
--- trunk/doc/modules/modules-delta	(revision 4416)
+++ trunk/doc/modules/modules-delta	(revision 5075)
@@ -3,5 +3,5 @@
 # Copyright (C) 2005  Joshua Hoblitt
 #
-# $Id: modules-delta,v 1.1 2005-06-28 22:01:42 jhoblitt Exp $
+# $Id: modules-delta,v 1.2 2005-09-20 21:43:56 jhoblitt Exp $
 
 MODULE=psmodule
@@ -24,4 +24,16 @@
 
 STARTDIR=`pwd`
+
+usage()
+{
+    cat <<EOF
+Usage: $0 [--color={none,auto,always}]
+EOF
+}
+
+if test $# -gt 1; then
+    usage
+    exit 1
+fi
 
 # checkout pslib sources
@@ -72,9 +84,9 @@
 $TEXBLOCK -b prototype -i $DOC > $WORKDIR/spec.txt
 $TEXBLOCK -b datatype -i $DOC >> $WORKDIR/spec.txt
-$APIDELTA --color=always --spec $WORKDIR/spec.txt --code $WORKDIR/code.txt
+$APIDELTA $1 --spec $WORKDIR/spec.txt --code $WORKDIR/code.txt
 
 # cleanup
 
-if [ -d "$WORKDIR" ] ; then
-    rm -rf $WORKDIR
-fi
+#if [ -d "$WORKDIR" ] ; then
+#    rm -rf $WORKDIR
+#fi
