From e7a109787618091c46b021b35de4c077251730d3 Mon Sep 17 00:00:00 2001 From: kennsippell Date: Fri, 13 Dec 2024 10:37:26 -0800 Subject: [PATCH] Update input syntax and docs --- src/fn/delete-contacts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fn/delete-contacts.js b/src/fn/delete-contacts.js index 5d7a1ff7..932c5d57 100644 --- a/src/fn/delete-contacts.js +++ b/src/fn/delete-contacts.js @@ -25,7 +25,7 @@ module.exports = { const parseExtraArgs = (projectDir, extraArgs = []) => { const args = minimist(extraArgs, { boolean: true }); - const sourceIds = (args.ids || args.id || '') + const sourceIds = (args.contacts || args.contact || '') .split(',') .filter(id => id); @@ -52,7 +52,7 @@ ${bold('USAGE')} cht --local delete-contacts -- --ids=, ${bold('OPTIONS')} ---ids=, +--contacts=, (or --contact=,) A comma delimited list of ids of contacts to be deleted. --disable-users