mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-30 08:52:49 -05:00
Shorten --no-open-control option to --no-open
This commit is contained in:
@@ -42,7 +42,7 @@ async function main() {
|
|||||||
.option('password', {
|
.option('password', {
|
||||||
describe: 'Web control server password',
|
describe: 'Web control server password',
|
||||||
})
|
})
|
||||||
.option('open-control', {
|
.option('open', {
|
||||||
describe: 'After launching, open the control website in a browser',
|
describe: 'After launching, open the control website in a browser',
|
||||||
boolean: true,
|
boolean: true,
|
||||||
default: true,
|
default: true,
|
||||||
@@ -91,7 +91,7 @@ async function main() {
|
|||||||
getInitialState,
|
getInitialState,
|
||||||
onMessage,
|
onMessage,
|
||||||
}))
|
}))
|
||||||
if (argv.openControl) {
|
if (argv.open) {
|
||||||
shell.openExternal(argv.webserver)
|
shell.openExternal(argv.webserver)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user