lib/ssh/manager/client.rb in ssh-manager-1.1.2 vs lib/ssh/manager/client.rb in ssh-manager-1.1.3
- old
+ new
@@ -39,10 +39,10 @@
elsif @options[:transfer_file]
puts 'Transfering file..'
cli.new(@options).transfer_file(@options[:transfer_file].to_i, @argv[2], @argv[3])
elsif @options[:ping]
puts 'Pinging..'
- cli.new(@options).ping(@options[:ping].to_i)
+ cli.new(@options).ping(@options[:ping])
elsif @options[:delete]
puts 'Deleting ..'
cli.new(@options).delete(@options[:delete])
elsif @options[:list]
puts 'Listing ..'