@@ -30,6 +30,7 @@ export interface Args extends VsArgs {
3030 log ?: LogLevel
3131 readonly open ?: boolean
3232 readonly port ?: number
33+ readonly "bind-addr" ?: string
3334 readonly socket ?: string
3435 readonly version ?: boolean
3536 readonly force ?: boolean
@@ -88,11 +89,16 @@ const options: Options<Required<Args>> = {
8889 "cert-key" : { type : "string" , path : true , description : "Path to certificate key when using non-generated cert." } ,
8990 "disable-updates" : { type : "boolean" , description : "Disable automatic updates." } ,
9091 "disable-telemetry" : { type : "boolean" , description : "Disable telemetry." } ,
91- host : { type : "string" , description : "Host for the HTTP server." } ,
9292 help : { type : "boolean" , short : "h" , description : "Show this output." } ,
9393 json : { type : "boolean" } ,
9494 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+
96102 socket : { type : "string" , path : true , description : "Path to a socket (host and port will be ignored)." } ,
97103 version : { type : "boolean" , short : "v" , description : "Display version information." } ,
98104 _ : { type : "string[]" } ,
0 commit comments