launcher: hide deprecated cli alias

This commit is contained in:
jean-emmanuel 2018-03-09 12:37:43 +01:00
parent a0054f632e
commit 0370fe045a

View file

@ -13,7 +13,7 @@ var options = {
true : 'Targets must be ip:port pairs & port must be >= 1024'
}
},
'sync':{type:'array',describe:false,launcher:false,
'sync':{type:'array',describe:false,launcher:false,hidden:true,
check: (s)=>{
if (s) console.error('Warning: --sync is deprecated, use --send instead.')
return (s.join(' ').match('^([^:\s]*:[0-9]{4,5}[\s]*)*$') != null) ?