File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ Options:
102
102
--history-api-fallback Fallback to /index.html for Single Page Applications.
103
103
--compress Enable gzip compression.
104
104
--public <value> The public hostname/ip address of the server.
105
- --firewall <value...> Enable/disable firewall, or set hosts that are allowed to access the dev server.
105
+ --firewall [value...] Enable firewall or set hosts that are allowed to access the dev server.
106
+ --no-firewall Disable firewall.
106
107
107
108
Global options:
108
109
--color Enable colors on console.
Original file line number Diff line number Diff line change @@ -118,10 +118,12 @@ module.exports = {
118
118
} ,
119
119
{
120
120
name : 'firewall' ,
121
- type : String ,
121
+ type : [ String , Boolean ] ,
122
122
description :
123
- 'Enable/disable firewall, or set hosts that are allowed to access the dev server.' ,
123
+ 'Enable firewall or set hosts that are allowed to access the dev server.' ,
124
+ negatedDescription : 'Disable firewall.' ,
124
125
multiple : true ,
126
+ negative : true ,
125
127
} ,
126
128
] ,
127
129
} ;
You can’t perform that action at this time.
0 commit comments