cli: add --instance-name option to differenciate mulitple instances in zeroconf networks (issue #118)
This commit is contained in:
parent
7cc4197952
commit
dff73a6c47
5 changed files with 7 additions and 3 deletions
|
|
@ -69,6 +69,8 @@ var options = {
|
|||
true : 'blank session can\'t be started in read-only mode'
|
||||
}
|
||||
},
|
||||
'instance-name':{type:'string',describe:'used to differenciate multiple instances in a zeroconf network'
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -124,6 +126,7 @@ var makeDefaultConfig = function(argv){
|
|||
recentSessions: [],
|
||||
|
||||
appName: 'Open Stage Control',
|
||||
instanceName: argv['instance-name'] || false,
|
||||
syncTargets: argv.s || argv.sync || false,
|
||||
oscInPort: argv.o || 0,
|
||||
httpPort: argv.p || 8080,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue