pssh 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pssh/cli.rb +4 -0
- data/lib/pssh/version.rb +1 -1
- metadata +1 -1
data/lib/pssh/cli.rb
CHANGED
@@ -21,6 +21,10 @@ module Pssh
|
|
21
21
|
opts.separator ''
|
22
22
|
opts.separator 'Options:'
|
23
23
|
|
24
|
+
opts.on('--readonly', 'Only allow viewing the session, not writing.') do
|
25
|
+
options[:io_mode] = 'r'
|
26
|
+
end
|
27
|
+
|
24
28
|
opts.on('-p PORT', '--port PORT', Integer, 'Set the port that Pssh will run on') do |port|
|
25
29
|
options[:port] = port.to_i
|
26
30
|
end
|
data/lib/pssh/version.rb
CHANGED