parent
1de2f5c290
commit
a50ca3a49d
|
@ -15,7 +15,7 @@ module Middleman::Cli
|
||||||
method_option :host,
|
method_option :host,
|
||||||
:type => :string,
|
:type => :string,
|
||||||
:aliases => '-h',
|
:aliases => '-h',
|
||||||
:default => '0.0.0.0',
|
:default => Socket.ip_address_list.find(&:ipv4_private?).ip_address,
|
||||||
:desc => 'Bind to HOST address'
|
:desc => 'Bind to HOST address'
|
||||||
method_option :port,
|
method_option :port,
|
||||||
:aliases => '-p',
|
:aliases => '-p',
|
||||||
|
|
Loading…
Reference in a new issue