bin/propre in propre-0.1.0 vs bin/propre in propre-0.1.1
- old
+ new
@@ -48,16 +48,18 @@
if ARGV.size < 1
puts options[:help]
else
propre = Propre.new(options)
if File.directory?(ARGV[0])
- puts "Searching for movies title..."
+ puts "Searching for movies in directory..."
propre.crawlDirectory(ARGV[0])
end
if File.file?(ARGV[0])
puts "Searching for movie title..."
- propre.searchMovieFromFile(ARGV[0])
+ if !propre.searchMovieFromFile(ARGV[0])
+ puts "No movie found for #{ARGV[0]}"
+ end
end
end
end
begin
\ No newline at end of file