Permalink
Browse files

add --no-stream option

  • Loading branch information...
1 parent 42f70ba commit 6dafaf89668fd19e7747ef8bd636c2759109159e @jugyo committed May 1, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 bin/earthquake
  2. +1 −1 lib/earthquake/core.rb
View
@@ -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
@@ -148,7 +148,7 @@ def start(options = {})
end
end
- reconnect
+ reconnect unless options[:'no-stream'] == true
trap('INT') { stop }
end

0 comments on commit 6dafaf8

Please sign in to comment.