Index: temporal/t.rast.what/t.rast.what.py
===================================================================
--- temporal/t.rast.what/t.rast.what.py	(revision 64351)
+++ temporal/t.rast.what/t.rast.what.py	(working copy)
@@ -33,15 +33,23 @@
 #%end
 
 #%option G_OPT_F_OUTPUT
+#%key: output
 #%end
 
 #%option G_OPT_T_WHERE
+#% key: where
+#% required: no
 #%end
 
 #%option G_OPT_M_NULL_VALUE
+#% key: null_value
+#% required: no
 #%end
 
 #%option G_OPT_F_SEP
+#% key: separator
+#% answer: pipe
+#% required: no
 #%end
 
 #%option
@@ -67,7 +75,7 @@
 #%option
 #% key: nprocs
 #% type: integer
-#% description: Number of r.neighbor processes to run in parallel
+#% description: Number of r.what processes to run in parallel
 #% required: no
 #% multiple: no
 #% answer: 1
@@ -203,7 +211,7 @@
     
     process_queue.wait()
     
-    gscript.message("Number of raster map layers remaining for sampling %i"%(remaining_maps))
+    #gscript.verbose("Number of raster map layers remaining for sampling %i"%(remaining_maps))
     if remaining_maps > 0:
         # Use a single process if less then 400 maps
         if remaining_maps <= 100:
@@ -248,7 +256,7 @@
     
     for count in range(len(output_files)):
         file_name = output_files[count]
-        gscript.message(_("Transforming r.what output file %s"%(file_name)))
+        #gscript.verbose(_("Transforming r.what output file %s"%(file_name)))
         map_list = output_time_list[count]
         in_file = open(file_name, "r")
         for line in in_file:
@@ -286,7 +294,7 @@
     first = True
     for count in range(len(output_files)):
         file_name = output_files[count]
-        gscript.message(_("Transforming r.what output file %s"%(file_name)))
+        #gscript.verbose(_("Transforming r.what output file %s"%(file_name)))
         map_list = output_time_list[count]
         in_file = open(file_name, "r")
         lines = in_file.readlines()
@@ -299,8 +307,9 @@
         
         if first is True:
             if write_header is True:
-                out_file.write("star%(sep)send"%({"sep":separator}))
+                out_file.write("start%(sep)send"%({"sep":separator}))
                 for line in lines:
+                    gscript.verbose(" %s"%(line))
                     x = matrix[0][0]
                     y = matrix[0][1]
                     out_file.write("%(sep)s%(x)10.10f;%(y)10.10f"\
@@ -347,7 +356,7 @@
     first = True
     for count in range(len(output_files)):
         file_name = output_files[count]
-        gscript.message("Transforming r.what output file %s"%(file_name))
+        #gscript.verbose("Transforming r.what output file %s"%(file_name))
         map_list = output_time_list[count]
         in_file = open(file_name, "r")
 
@@ -377,7 +386,7 @@
 
     out_file.write(header + "\n")
 
-    gscript.message(_("Writing the output file <%s>"%(output)))
+    gscript.verbose(_("Writing the output file <%s>"%(output)))
     for row in matrix:
         first = True
         for col in row:
@@ -421,7 +430,7 @@
 
         output_time_list.append(map_list)
 
-        gscript.message(_("Process number %(proc)i samples %(num)i raster maps"%({"proc":process, "num":len(map_names)})))
+        gscript.verbose(_("Process maps %(samp_start)i to %(samp_end)i (of %(total)i)"%({"samp_start":count-len(map_names)+1, "samp_end":count, "total":len(maps)})))
         mod = copy.deepcopy(r_what)
         mod(map=map_names, output=final_file_name)
         #print(mod.get_bash())
