diff --git a/bin/shoryuken b/bin/shoryuken index 51511a0e..c00f52bd 100755 --- a/bin/shoryuken +++ b/bin/shoryuken @@ -27,7 +27,7 @@ module Shoryuken method_option :logfile, aliases: '-L', type: :string, desc: 'Path to logfile' method_option :pidfile, aliases: '-P', type: :string, desc: 'Path to pidfile' method_option :verbose, aliases: '-v', type: :boolean, desc: 'Print more verbose output' - method_option :delay, aliases: '-D', type: :boolean, desc: 'Number of seconds to pause fetching from an empty queue' + method_option :delay, aliases: '-D', type: :numeric, desc: 'Number of seconds to pause fetching from an empty queue' def start opts = options.to_h.symbolize_keys