Index: trunk/ippScripts/scripts/detrend_create_resid.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_create_resid.pl	(revision 8493)
+++ trunk/ippScripts/scripts/detrend_create_resid.pl	(revision 8494)
@@ -27,5 +27,5 @@
 
 # Parse the command-line arguments
-if (scalar @ARGV != 6) {
+if (scalar @ARGV != 7) {
     die "Apply a stacked detrend image to an individual detrend.\n\n" .
 	"Usage: $0 DET_ID EXP_ID CLASS_ID DETREND_TYPE DETREND.fits INPUT.fits OUTPUT_ROOT\n\n";
