OSDN Git Service

add disable/enable 'resubmit loop' output flag
[ftg/ftg.git] / ftg.py
diff --git a/ftg.py b/ftg.py
index acafb09..e20b27d 100755 (executable)
--- a/ftg.py
+++ b/ftg.py
@@ -35,28 +35,25 @@ if __name__ == "__main__":
         '-v', '--verbose', dest='verbose', action="store_true", default=False,
         help="verbose output")
     p.add_option(
-        '-s', '--output_summary', dest='output_summary', action="store_true", default=False,
-        help="output summary informations")
-    p.add_option(
         '-d', '--debug', dest='debug', action="store_true", default=False,
         help="debug output")
     g1 = OptionGroup(p, "Output Flags")
     g1.add_option(
-        '--enable_resubmit_loop_output', dest='resubmit_loop_output',
+        '--enable_output_resubmit_loop', dest='output_resubmit_loop',
         action="store_true", default=True,
         help="enable the output of the 'resubmit to start' that re-evaluate at the same table")
     g1.add_option(
-        '--disable_resubmit_loop_output', dest='resubmit_loop_output',
+        '--disable_output_resubmit_loop', dest='output_resubmit_loop',
         action="store_false", default=True,
         help="disable the output of the 'resubmit to start' that re-evaluate at the same table")
     g1.add_option(
-        '--enable_note_output', dest='note_output',
+        '--enable_output_summary', dest='output_summary',
         action="store_true", default=True,
-        help="enable the output of the 'note action'")
+        help="enable the output of the summary informations")
     g1.add_option(
-        '--disable_note_output', dest='note_output',
+        '--disable_output_summary', dest='output_summary',
         action="store_false", default=True,
-        help="disable the output of the 'note action'")
+        help="disable the output of the output summary informations")
     p.add_option_group(g1)
     (opts, args) = p.parse_args()
 
@@ -66,6 +63,7 @@ if __name__ == "__main__":
         formatter = GraphvizTBFormatter(util)
         formatter.set_entries_per_block(opts.entries_per_block)
         formatter.set_output_summary(opts.output_summary)
+        formatter.set_output_resubmit_loop(opts.output_resubmit_loop)
     elif  opts.formatter == "csv":
         formatter = CSVFormatter(util)
     elif  opts.formatter == "tsv":