lib/reek/cli/version_command.rb in reek-1.5.1 vs lib/reek/cli/version_command.rb in reek-1.6.0

- old
+ new

@@ -6,10 +6,10 @@ # # A command to report the application's current version number. # class VersionCommand < Command def execute(view) - view.output("#{@parser.program_name} #{Reek::VERSION}\n") + view.output("#{@options.program_name} #{Reek::VERSION}\n") view.report_success end end end end