lib/daemonizer/cli.rb in daemonizer-0.2.2 vs lib/daemonizer/cli.rb in daemonizer-0.3.0
- old
+ new
@@ -3,14 +3,14 @@
module Daemonizer
class CLI < Thor
check_unknown_options!
- method_option :demfile, :type => :string, :aliases => "-D", :banner => "Path to Demfile"
+ method_option :daemonfile, :type => :string, :aliases => "-D", :banner => "Path to Daemonfile"
def initialize(*)
super
- Daemonizer.demfile = options[:demfile] || "Demfile"
+ Daemonizer.daemonfile = options[:daemonfile] || "Daemonfile"
end
desc "start", "Start pool"
def start(pool_name = nil)
control_pools_loop(pool_name, "successfully started") do |pool|