bin/reap-stats in reap-9.3.5 vs bin/reap-stats in reap-9.4.0

- old
+ new

@@ -1,7 +1,26 @@ #!/usr/bin/env ruby require 'reap/application' -app = Reap::Application.new +HELP = <<-END +Usage: #{File.basename($0)} [options] -app.stats +Scan source code counting files, lines of code and comments +and presents a report of it's findings. + + loadpath Path to include in analysis. The default + is the project's loadpath. + + exclude File globs to exclude from analysis. Default is + 'ext' b/c this does not yet support C analysis. + +This command does not currently support C coded extensions. +END + +if ARGV.include?('--help') + puts HELP +else + app = Reap::Application.new + app.stats +end +