Index: trunk/dettools/doc/dettools.txt
===================================================================
--- trunk/dettools/doc/dettools.txt	(revision 5881)
+++ trunk/dettools/doc/dettools.txt	(revision 6022)
@@ -1,5 +1,5 @@
 mkdetrend tools
 
-dettool -define [options]
+dettools -define [options]
  * define a new detRun, specifying the constraints, and adding it to
  the run table.  if the detRun ID already exists, creates a new
@@ -22,5 +22,5 @@
   (-exptime is mandatory for dark)
 
-dettool -getinput
+dettools -getinput
  * select the input matching a given detRun.  selects the input
  exposures and the input files.
@@ -29,32 +29,28 @@
  stack of input exposures
 
-dettool -select raw [-state state] [-outmode mode]
+dettools -pending raw [-state state] [-outmode mode]
  * select the unprocessed input infiles
  - output of this program is used by pantasks to schedule the ppImage
  run on each image
 
-dettool -select stack [-state state] [-outmode mode]
+dettools -pending stack [-state state] [-outmode mode]
  * select the files to be stacked for a given detRun, if exposures are ready
  - output of this program is used by ppMerge to build a master stack
 
-dettool -select rawresid [-state state]
- * select the residual imfiles to be generated
- - output of this program is used for another ppImage run 
-
-dettool -update raw
+dettools -update raw
  * select the raw input exposures, count processed imfiles, update if done
 
-dettool -update resid
+dettools -update resid
  * select the resid exposures, count processed resid imfiles, update if done
  - for a given resid exposure, compile the results from the stacks for
  each chip and renormalize the output files as needed.
 
-dettool -select norm
+dettools -pending norm
  * select the master detrend frames & imfiles to be normalized
 
-dettool -resid
+dettools -resid
  * construct the resid exposures and imfiles given 
 
-dettool -assess
+dettools -assess
  * for a given master detrend frame, compile the results from the
  residual exposures and assess the validity of the input exposures and of
