[LON-CAPA-cvs] cvs: loncom /debugging_tools rebuild_db_from_hist.pl

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 08 Dec 2004 22:34:30 -0000


matthew		Wed Dec  8 17:34:30 2004 EDT

  Modified files:              
    /loncom/debugging_tools	rebuild_db_from_hist.pl 
  Log:
  Make the help a little more accurate.
  
  
Index: loncom/debugging_tools/rebuild_db_from_hist.pl
diff -u loncom/debugging_tools/rebuild_db_from_hist.pl:1.1 loncom/debugging_tools/rebuild_db_from_hist.pl:1.2
--- loncom/debugging_tools/rebuild_db_from_hist.pl:1.1	Wed Dec  8 17:06:48 2004
+++ loncom/debugging_tools/rebuild_db_from_hist.pl	Wed Dec  8 17:34:30 2004
@@ -4,7 +4,7 @@
 #
 # rebuild_db_from_hist.pl Rebuild a *.db file from a *.hist file
 #
-# $Id: rebuild_db_from_hist.pl,v 1.1 2004/12/08 22:06:48 matthew Exp $
+# $Id: rebuild_db_from_hist.pl,v 1.2 2004/12/08 22:34:30 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -50,11 +50,12 @@
 rebuild_db_from_hist.pl - recreate a db file from a hist file.
 Options:
    -help     Display this help.
-   -debug    Output debugging code
-   -sort     Sort the entries by time
-   -test     Do not write the data but verify it was created properly
+   -debug    Output debugging code (not much is output yet)
+   -test     Verify the given *.hist file will reconstruct the current db file
+             Sends error messages to STDERR.
 Examples: 
-    rebuild_db_from_hist.pl $file.hist 
+    rebuild_db_from_hist.pl -t $file.hist  # Perform a test rebuild
+    rebuild_db_from_hist.pl $file.hist       
 END
     exit;
 }