Skip to content

Commit

Permalink
Update input syntax and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell committed Dec 13, 2024
1 parent 4943575 commit e7a1097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fn/delete-contacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -52,7 +52,7 @@ ${bold('USAGE')}
cht --local delete-contacts -- --ids=<id1>,<id2>
${bold('OPTIONS')}
--ids=<id1>,<id2>
--contacts=<id1>,<id2> (or --contact=<id1>,<id2>)
A comma delimited list of ids of contacts to be deleted.
--disable-users
Expand Down

0 comments on commit e7a1097

Please sign in to comment.