bin/i2cssh in i2cssh-1.3.1 vs bin/i2cssh in i2cssh-1.3.2

- old
+ new

@@ -1,9 +1,9 @@ #!/usr/bin/ruby require 'rubygems' require 'optparse' -require 'i2cssh' +require 'lib/i2cssh' i2_options, ssh_options, servers = {}, [], [] optparse = OptionParser.new do |opts| opts.banner = "Usage: #{File.basename(__FILE__)} [options]" @@ -38,9 +38,18 @@ end end opts.on '-b', '--broadcast', 'Start with broadcast input (DANGEROUS!)' do i2_options[:broadcast] = true + end + opts.on '-p', '--profile PROFILE', + 'Name of the iTerm2 profile (default: Default)' do |p| + i2_options[:profile] = p + puts p + end + opts.on "-2", '--iterm2', + 'Use iTerm2 instead of iTerm' do + i2_options[:iterm2] = true end # Hosts opts.on '-f', '--file FILE', 'Cluster file (one hostname per line)' do |f|