Index: /trunk/doc/ipptools/p4tool.txt
===================================================================
--- /trunk/doc/ipptools/p4tool.txt	(revision 10641)
+++ /trunk/doc/ipptools/p4tool.txt	(revision 10641)
@@ -0,0 +1,59 @@
+--------------------------------------------------------------------------------
+
+The "p4tool -definerun" command creates a new p4Run for a single cell. A
+unique identifier for the run, or a p4Run ID, is returned.
+
+    p4tool -definerun -survey_mode <str> -filter <str> -skycell_id <str> -tess_id <str>  -ra <f64> -decl <f64> -input_ss <str> -output_ss <str> -imfiles <s32>
+
+    p4tool -addinputimfile -p4_id <str> -exp_tag <str> -p3_version <s32> -class_id <str>
+
+--------------------------------------------------------------------------------
+
+	p4tool -towarpedimfile [-p4_id <str>]
+
+Blocks until the appropriate # of inputs have been registered in a given
+p4run.  Returns a list of imfiles along with their skycell_id & tessalation id
+that have not yet been warped.
+
+	p4tool -addwarpedimfile -p4_id <str> -exp_tag <str> -p3_version <s32>
+-class_id <str> -uri <str> [-bg ...]
+
+Registers a warped imfile with the database.
+
+	p4tool -warpedimfile [-p4_id <str>]
+
+Lists warped imfiles.
+
+--------------------------------------------------------------------------------
+
+	p4tool -tostackedimfile -p4_id <str>
+
+List a complete set of class_ids for a given p4run that are ready to be
+stacked.
+
+	p4tool -addstackedimfile -p4_id <str> -exp_tag <str> -p3_version <s32>
+-class_id <str> -uri <str> [-bg ...]
+
+Registered a stacked imfiles with the database
+
+	p4tool -stackedimfile [-p4_id <str>]
+
+Lists stacked imfiles.
+
+--------------------------------------------------------------------------------
+
+	p4tool -todiffimfile [-p4_id <str>]
+
+Lists stacked imfiles along with the uri for an imfile to use for
+differencing.
+
+	p4tool -adddiffimfile -p4_id <str> -exp_tag <str> -p3_version <s32>
+-class_id <str> -uri <str> [-bg ...]
+
+Registered a difference imfiles with the database.
+
+	p4tool -diffimfile [-p4_id <str>]
+
+Lists difference imfiles.
+
+--------------------------------------------------------------------------------
