Index: /trunk/ippTools/doc/p2tools.txt
===================================================================
--- /trunk/ippTools/doc/p2tools.txt	(revision 6141)
+++ /trunk/ippTools/doc/p2tools.txt	(revision 6142)
@@ -8,8 +8,8 @@
 p2search -define [options]
   * input: searches mddb:raw_exposures,raw_images
-        - compares against p2Pending[Exp|Imfiles]
-        - compares against p2Done[Exp|Imfiles]
-        - XXX should be implimented as a special wrapper function that
-          impliments this comparision as a SQL query
+        - compares against p2Pending[Exp|Imfile]
+        - compares against p2Done[Exp|Imfile]
+        - XXX should be implemented as a special wrapper function that
+          implements this comparison as a SQL query
   * output: updates mddb:P2_exposures_pending,P2_images_pending
   * alternative output: identical to p2pending
@@ -25,7 +25,10 @@
 
 p2search -done
-  * add completed exposures to the p2.done tables
-  * remove corresponding entries from the p2.pending table
-  * send new entry to the pending p3 table
+  * get exp_id/class/class_id from the CLI
+  * add the completed imfile to the p2DoneImfile tables
+  * remove corresponding entries from the p2PendingImfile table
+  * check to see if any p2PendingExps have no associated p2PendingImfiles
+        if so move the p2PendingExp(s) to p2DoneExp
+//  * send new entry to the pending p3 table
 
 ppImage file://path/filename file://path/outroot -recipe (recipe) 
