Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add --no-stream option

  • Loading branch information...
commit 6dafaf89668fd19e7747ef8bd636c2759109159e 1 parent 42f70ba
@jugyo authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  bin/earthquake
  2. +1 −1  lib/earthquake/core.rb
View
1  bin/earthquake
@@ -7,6 +7,7 @@ slop.banner "Usage: earthquake [options] [directory]"
slop.on :d, :debug, 'Enable debug mode'
slop.on :n, :'no-logo', 'No Logo'
slop.on :c, :command, "Invoke a command and exit", true
+slop.on :'--no-stream', "No stream mode"
begin
slop.parse!(argv)
rescue => e
View
2  lib/earthquake/core.rb
@@ -148,7 +148,7 @@ def start(options = {})
end
end
- reconnect
+ reconnect unless options[:'no-stream'] == true
trap('INT') { stop }
end
Please sign in to comment.
Something went wrong with that request. Please try again.