lib/shere/runner.rb in shere-0.9.2 vs lib/shere/runner.rb in shere-1.0.0
- old
+ new
@@ -46,11 +46,12 @@
end
opts
end
def help
- maxn = options.transpose.first.map(&:size).max
- maxd = options.transpose.last .map(&:size).max
+ optt = options.transpose
+ maxn = optt.first.map(&:size).max
+ maxd = optt.last .map(&:size).max
"Usage: shere ROOT\n" +
options.map{ |(name, desc)|
if desc.empty?
name
else