lib/smallcage/commands/update.rb in smallcage-0.1.5 vs lib/smallcage/commands/update.rb in smallcage-0.1.6
- old
+ new
@@ -24,10 +24,10 @@
urilist = delete_expired_files(urilist)
end
save_list(urilist)
elapsed = Time.now - start
- puts "-- #{rendered} files. #{"%.3f" % elapsed} sec. #{"%.3f" % (elapsed/rendered)} sec/file."
+ puts "-- #{rendered} files. #{"%.3f" % elapsed} sec. #{"%.3f" % (elapsed/rendered)} sec/file." unless @opts[:quiet]
end
def render_smc_files
urilist = []
@loader.each_smc_obj do |obj|