main: always enable osc input (default port = http port)

This commit is contained in:
jean-emmanuel 2016-12-15 13:56:13 +01:00
parent f10f496047
commit 42f4afca7e
4 changed files with 9 additions and 4 deletions

View file

@ -23,7 +23,7 @@ var options = {
true : 'Port must be an integer >= 1024'
}
},
'o':{alias:'osc-port',type:'number',describe:'osc input port',
'o':{alias:'osc-port',type:'number',describe:'osc input port (default to --port)',
check: (o)=>{
return (!isNaN(o) && o > 1023 && parseInt(o)===o) ?
true : 'Port must be an integer >= 1024'