pssh 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/pssh/cli.rb +4 -0
  2. data/lib/pssh/version.rb +1 -1
  3. metadata +1 -1
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Pssh
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: