Small refactoring in Ruby code.

This commit is contained in:
Renato Silva 2014-12-02 22:07:13 -02:00
parent 247778b867
commit 83c60b7a11
1 changed files with 2 additions and 2 deletions

View File

@ -229,8 +229,8 @@ module EasyOptions
end
def self.finish(error)
$stderr.puts "Error: #{error}."
$stderr.puts 'See --help for usage and options.'
warn "Error: #{error}."
warn 'See --help for usage and options.'
puts 'exit 1' if BashOutput
exit false
end