@@ -30,6 +30,7 @@ export interface Args extends VsArgs {
30
30
log ?: LogLevel
31
31
readonly open ?: boolean
32
32
readonly port ?: number
33
+ readonly "bind-addr" ?: string
33
34
readonly socket ?: string
34
35
readonly version ?: boolean
35
36
readonly force ?: boolean
@@ -88,11 +89,16 @@ const options: Options<Required<Args>> = {
88
89
"cert-key" : { type : "string" , path : true , description : "Path to certificate key when using non-generated cert." } ,
89
90
"disable-updates" : { type : "boolean" , description : "Disable automatic updates." } ,
90
91
"disable-telemetry" : { type : "boolean" , description : "Disable telemetry." } ,
91
- host : { type : "string" , description : "Host for the HTTP server." } ,
92
92
help : { type : "boolean" , short : "h" , description : "Show this output." } ,
93
93
json : { type : "boolean" } ,
94
94
open : { type : "boolean" , description : "Open in browser on startup. Does not work remotely." } ,
95
- port : { type : "number" , description : "Port for the HTTP server." } ,
95
+
96
+ "bind-addr" : { type : "string" , description : "Address to bind to in host:port." } ,
97
+
98
+ // These two have been deprecated by bindAddr.
99
+ host : { type : "string" , description : "" } ,
100
+ port : { type : "number" , description : "" } ,
101
+
96
102
socket : { type : "string" , path : true , description : "Path to a socket (host and port will be ignored)." } ,
97
103
version : { type : "boolean" , short : "v" , description : "Display version information." } ,
98
104
_ : { type : "string[]" } ,
0 commit comments