bin/puppet-doc-lint in puppet-doc-lint-0.1.1 vs bin/puppet-doc-lint in puppet-doc-lint-0.2.0
- old
+ new
@@ -35,10 +35,10 @@
coverage = parameters_documented_total.percent_of(parameters_total) unless parameters_total == 0
puts "\n\n"
puts "Number of files: #{tally}"
puts "Total variables: #{parameters_total}"
-puts "Total missing variables: #{parameters_total}"
+puts "Total missing variables: #{parameters_undocumented_total}"
puts "Documented variables: #{parameters_documented_total}"
puts "Documentation coverage: #{coverage.round(2)}%"
if (parameters_missing_total + parameters_undocumented_total) > 0
puts "Issues found!".bold.green.bg_red