From 0370fe045a5f4b115a2b1bf69b181a4f70e03ed2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 9 Mar 2018 12:37:43 +0100 Subject: [PATCH] launcher: hide deprecated cli alias --- app/main/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/settings.js b/app/main/settings.js index 8c82c59a..544e1be3 100644 --- a/app/main/settings.js +++ b/app/main/settings.js @@ -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) ?