bin/exifr in exifr-0.9.2 vs bin/exifr in exifr-0.9.3
- old
+ new
@@ -16,10 +16,10 @@
end
l.delete_if{|k,v|v.nil?}
puts "#{fname}:"
f = " %#{l.sort{|a,b|a[0].size <=> b[0].size}.last[0].size}s = %s\n"
- l.each{|k,v|puts f % [k, v]}
+ l.each{|k,v|puts f % [k, [v].flatten.map{|t|t.to_s}.join(', ')]}
end
if ARGV.size == 0
STDERR.puts "Usage: #{$0} FILE .."
elsif ARGV.size == 1
\ No newline at end of file