Small refactoring in Ruby code.
This commit is contained in:
parent
247778b867
commit
83c60b7a11
|
@ -229,8 +229,8 @@ module EasyOptions
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.finish(error)
|
def self.finish(error)
|
||||||
$stderr.puts "Error: #{error}."
|
warn "Error: #{error}."
|
||||||
$stderr.puts 'See --help for usage and options.'
|
warn 'See --help for usage and options.'
|
||||||
puts 'exit 1' if BashOutput
|
puts 'exit 1' if BashOutput
|
||||||
exit false
|
exit false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue