Skip to content

Commit

Permalink
DRY up throttle default
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkyMarkMcDonald committed Mar 20, 2018
1 parent 50f4e3b commit 4dffd64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/doc_doc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
require 'optparse'
require 'doc_doc'

options = DocDoc::Configuration::Options.new(ARGV[0], 1)
options = DocDoc::Configuration::Options.new(
ARGV[0],
DocDoc::HorseAndBuggy::DEFAULT_THROTTLE
)

OptionParser.new do |parser|
parser.banner = 'Usage: doc_doc http://www.some-documentation.example [options]'
Expand Down

0 comments on commit 4dffd64

Please sign in to comment.