From ed6ac61c3230a08e9fc613e9ab3bdc9df620fc3b Mon Sep 17 00:00:00 2001 From: Ben Irvin Date: Mon, 16 Jan 2023 18:52:11 +0100 Subject: [PATCH] improve help --- packages/core/strapi/lib/commands/transfer/utils.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/core/strapi/lib/commands/transfer/utils.js b/packages/core/strapi/lib/commands/transfer/utils.js index 60a9947937..a76060c5b3 100644 --- a/packages/core/strapi/lib/commands/transfer/utils.js +++ b/packages/core/strapi/lib/commands/transfer/utils.js @@ -91,11 +91,13 @@ const createStrapiInstance = async (logLevel = 'error') => { const transferDataTypes = Object.keys(TransferGroupPresets); const excludeOption = new Option( '--exclude ', - 'Exclude this data.' + `Exclude this data. Options used here override --only. Available types: ${transferDataTypes.join( + ',' + )}` ).argParser(getParseListWithChoices(transferDataTypes, 'Invalid options for "exclude"')); const onlyOption = new Option( '--only ', - 'Include only this data.' + `Include only this data. Available types: ${transferDataTypes.join(',')}` ).argParser(getParseListWithChoices(transferDataTypes, 'Invalid options for "only"')); module.exports = {