mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-28 23:50:05 +00:00
Support (and prefer) dash-separated command line arguments
--log_level -> --log-level Underscored arguments are still supported for backwards compatibility.
This commit is contained in:
@@ -495,7 +495,7 @@ fn buildJSONVersionResponse(
|
||||
const host = app.config.advertiseHost();
|
||||
if (std.mem.eql(u8, host, "0.0.0.0")) {
|
||||
log.info(.cdp, "unreachable advertised host", .{
|
||||
.message = "when --host is set to 0.0.0.0 consider setting --advertise_host to a reachable address",
|
||||
.message = "when --host is set to 0.0.0.0 consider setting --advertise-host to a reachable address",
|
||||
});
|
||||
}
|
||||
const body_format = "{{\"webSocketDebuggerUrl\": \"ws://{s}:{d}/\"}}";
|
||||
|
||||
Reference in New Issue
Block a user