Index: /trunk/doc/ipptools/dettool.txt
===================================================================
--- /trunk/doc/ipptools/dettool.txt	(revision 8448)
+++ /trunk/doc/ipptools/dettool.txt	(revision 8449)
@@ -60,5 +60,5 @@
 imfile to detProcessedImfiles:
 
-	dettool -addprocessed -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -uri <processed_uri> -recipe <ppImage_recipe> -stats <stats>
+	dettool -addprocessed -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -uri <processed_uri> -recipe <ppImage_recipe> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat>
 
 In practise, the above "ppImage" and "dettool -addprocessed" commands
@@ -101,5 +101,5 @@
 stacked class_id and and optionally marks it for normalization:
 
-	dettool -addstacked [-pleasenormalize] -det_id <det_id> -iter <iter> -class_id <class_id> -uri <stacked_uri> -stat <statistic>
+	dettool -addstacked [-pleasenormalize] -det_id <det_id> -iter <iter> -class_id <class_id> -uri <stacked_uri> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> 
 
 The "-pleasenormalize" flag indicates that the normalisation steps are
@@ -199,5 +199,5 @@
 The residual is then inserted into the database:
 
-	dettool -addresidimfile -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -stat <stat> -b1_uri <b1_fits> -b2_uri <b2_fits>
+	dettool -addresidimfile -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> -b1_uri <b1_fits> -b2_uri <b2_fits> 
 
 In practise, the above two commands ("ppImage" and "dettool
@@ -234,5 +234,5 @@
 problems; these could be removed by other means):
 
-	dettool -addresidexp -det_id <det_id> -iter <iter> -exp_id <exp_id> -b1_uri <uri_jpeg1> -b2_uri <uri_jpeg2> -stats <stats> [-reject]
+	dettool -addresidexp -det_id <det_id> -iter <iter> -exp_id <exp_id> -b1_uri <uri_jpeg1> -b2_uri <uri_jpeg2> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> [-reject]
 
 where the "-reject" flag indicates that the exposure is not to be
@@ -273,5 +273,5 @@
 iteration:
 
-	dettool -updatedetrun -det_id <det_id> -iter <iter> -stat <stats> [-rerun|-ok|-stop]
+	dettool -updatedetrun -det_id <det_id> -iter <iter> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> [-rerun|-ok|-stop]
 
 where "-rerun" causes a new iteration to be started, "-ok" causes the
