lib/rabbit_wq/cli.rb in rabbit-wq-1.8.0 vs lib/rabbit_wq/cli.rb in rabbit-wq-1.9.0
- old
+ new
@@ -61,13 +61,15 @@
opt :threads, "The number of threads", :type => Integer, :short => '-t'
end
when "status"
Trollop::options do
opt :pid, "The path for the PID file", :type => String, :default => DEFAULT_PID_PATH
+ opt :quiet, "Do not prompt to remove an old PID file", :type => :boolean, :default => false, :short => '-q'
end
when "stop"
Trollop::options do
opt :pid, "The path for the PID file", :type => String, :default => DEFAULT_PID_PATH
+ opt :quiet, "Do not prompt to remove an old PID file", :type => :boolean, :default => false, :short => '-q'
end
else
Trollop::die "unknown command #{cmd.inspect}"
end