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