Small refactoring in Ruby code.
This commit is contained in:
parent
247778b867
commit
83c60b7a11
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue