Skip to content

Commit

Permalink
Merge pull request #356 from ryz310/fix/delay_option
Browse files Browse the repository at this point in the history
Fix delay option type
  • Loading branch information
phstc authored Apr 11, 2017
2 parents 6e4c840 + 847126f commit 3282c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/shoryuken
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3282c1a

Please sign in to comment.