mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Fix -x command line option (it's :lock, not :mutex)
This commit is contained in:
parent
c156c68b1c
commit
22e1d8c5a2
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module Sinatra
|
|||
if run? && ARGV.any?
|
||||
require 'optparse'
|
||||
OptionParser.new { |op|
|
||||
op.on('-x') { set :mutex, true }
|
||||
op.on('-x') { set :lock, true }
|
||||
op.on('-e env') { |val| set :environment, val.to_sym }
|
||||
op.on('-s server') { |val| set :server, val }
|
||||
op.on('-p port') { |val| set :port, val.to_i }
|
||||
|
|
Loading…
Reference in a new issue