lib/command/inspect.rb in narou-1.1.1 vs lib/command/inspect.rb in narou-1.1.2

- old
+ new

@@ -1,6 +1,6 @@ -# -*- coding: UTF-8 -*- +# -*- coding: utf-8 -*- # # Copyright 2013 whiteleaf. All rights reserved. # require "fileutils" @@ -41,10 +41,10 @@ end argv.each_with_index do |target, i| Helper.print_horizontal_rule if i > 0 data = Downloader.get_data_by_target(target) unless data - warn "#{target} は存在しません" + error "#{target} は存在しません" next end display_log(data["title"]) end end