bin/itools in itools-0.1.8 vs bin/itools in itools-0.1.9
- old
+ new
@@ -33,9 +33,9 @@
# 计算占用内存大小
desc "calculate the memory footprint of file or folder(contain file)"
arg 'xxx.txt'
command :sizeFor do |c|
c.action do |global_options, options, args|
- Itools::Memory.sizeFor(args[0])
+ Itools::Memory.sizeFor(args)
end
end
exit run(ARGV)
\ No newline at end of file