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