lib: rename Counter::total into Counter::sum
[nit.git] / src / metrics / rta_metrics.nit
index 58c2698..820c2ef 100644 (file)
@@ -120,7 +120,7 @@ do
        end
 
        # CSV generation
-       if modelbuilder.toolcontext.opt_generate_csv.value then
+       if modelbuilder.toolcontext.opt_csv.value then
                var summaryCSV = new CSVDocument
                summaryCSV.set_header("scope", "NLVT", "NLVTG", "NLCT", "NLVCTG")
                summaryCSV.add_line("global", nlvt, nlvtg, nlct, nlctg)