Index: trunk/doc/ipptools/dettool.txt
===================================================================
--- trunk/doc/ipptools/dettool.txt	(revision 9053)
+++ trunk/doc/ipptools/dettool.txt	(revision 9056)
@@ -13,5 +13,5 @@
 
 The "dettool -pending" command returns a list of unassociated
-rawDetrendExp (rawDetrendExps that don't correspond to a exp_id in
+rawDetrendExp (rawDetrendExps that don't correspond to a exp_tag in
 detInputExp).
 
@@ -23,5 +23,5 @@
 exposure ids:
 
-	dettool -definebyexp -det_type <bias|dark|flat|fringe> -exp_id 1 -exp_id 2 ...
+	dettool -definebyexp -det_type <bias|dark|flat|fringe> -exp_tag 1 -exp_tag 2 ...
 
 The above two commands ("dettool -pending" and "dettool -definebyexp")
@@ -60,5 +60,5 @@
 to detProcessedImfiles:
 
-	dettool -addprocessed -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -uri <processed_uri> -recip <ppImage_recipe> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> -b1_uri <binned1_uri> -b2_uri <binned2_uri>
+	dettool -addprocessed -det_id <det_id> -exp_tag <exp_tag> -class_id <class_id> -uri <processed_uri> -recip <ppImage_recipe> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> -b1_uri <binned1_uri> -b2_uri <binned2_uri>
 
 In practise, the above "ppImage" and "dettool -addprocessed" commands
@@ -75,5 +75,5 @@
 id, a list of imfiles may be gathered using:
 
-	dettool -processed -exp_id <exp_id>
+	dettool -processed -exp_tag <exp_tag>
 
 The output includes b1_uri, b2_uri, bg, bg_stdev and bg_mean_stdev for
@@ -85,5 +85,5 @@
 the imfile statistics) is added into the database for the exposure:
 
-	dettool -addprocessedexp -exp_id <exp_id> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> -uri <jpeg_uri> -jpeg_uri <jpeg_uri>
+	dettool -addprocessedexp -exp_tag <exp_tag> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> -uri <jpeg_uri> -jpeg_uri <jpeg_uri>
 
 In practise, the above "dettool -processed", "ppImage" and "dettool
@@ -215,5 +215,5 @@
 For each exposure, we get the list of component imfiles:
 
-	dettool -normimfile -exp_id <exp_id>
+	dettool -normimfile -exp_tag <exp_tag>
 
 This includes the statistics (bg, bg_stdev, bg_mean_stdev) and the
@@ -225,5 +225,5 @@
 The statistics and JPEG uri are pushed into the database:
 
-	dettool -addnormexp -exp_id <exp_id> -j1_uri <jpeg1_uri> -j2_uri <jpeg2_uri> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat>
+	dettool -addnormexp -exp_tag <exp_tag> -j1_uri <jpeg1_uri> -j2_uri <jpeg2_uri> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat>
 
 In practise, the above three commands ("dettool -stackimfile",
@@ -249,5 +249,5 @@
 The residual is then inserted into the database:
 
-	dettool -addresidimfile -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -recip <recipe> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> -b1_uri <b1_fits> -b2_uri <b2_fits> 
+	dettool -addresidimfile -det_id <det_id> -exp_tag <exp_tag> -class_id <class_id> -recip <recipe> -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
@@ -269,5 +269,5 @@
 for that exposure:
 
-	dettool -residimfile -det_id <det_id> -iter <iter> -exp_id <exp_id>
+	dettool -residimfile -det_id <det_id> -iter <iter> -exp_tag <exp_tag>
 
 For these, we create the mosaic jpeg images:
@@ -282,5 +282,5 @@
 problems; these could be removed by other means):
 
-	dettool -addresidexp -det_id <det_id> -iter <iter> -exp_id <exp_id> -recip <recipe> -j1_uri <uri_jpeg1> -j2_uri <uri_jpeg2> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> [-reject]
+	dettool -addresidexp -det_id <det_id> -iter <iter> -exp_tag <exp_tag> -recip <recipe> -j1_uri <uri_jpeg1> -j2_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
@@ -312,5 +312,5 @@
 run:
 
-	dettool -updateresidexp -det_id <det_id> -iter <iter> -exp_id <exp_id> [-reject]
+	dettool -updateresidexp -det_id <det_id> -iter <iter> -exp_tag <exp_tag> [-reject]
 
 where the "-reject" flag indicates that the exposure is not to be
@@ -343,5 +343,5 @@
 to accept and reject:
 
-	dettool -rerun -det_id <det_id> -iter <iter> -accept <exp_id> -accept <exp_id> ... -reject <exp_id> -reject <exp_id> ...
-
-
+	dettool -rerun -det_id <det_id> -iter <iter> -accept <exp_tag> -accept <exp_tag> ... -reject <exp_tag> -reject <exp_tag> ...
+
+
