bin/i2cssh in i2cssh-0.0.2 vs bin/i2cssh in i2cssh-0.0.3
- old
+ new
@@ -41,10 +41,9 @@
columns = options[:grid][0].to_i
rows = options[:grid][1].to_i
elsif options[:cluster] then
require 'yaml'
config_hash = YAML.load(File.read(File.expand_path("~/.i2csshrc")))
- puts config_hash.inspect
servers = config_hash["clusters"][options[:cluster]]
end
count = servers.size
rows ||= Math.sqrt(count).ceil