diff --git a/packages/core/strapi/bin/strapi.js b/packages/core/strapi/bin/strapi.js index 285df8b96c..b4d8add4f9 100755 --- a/packages/core/strapi/bin/strapi.js +++ b/packages/core/strapi/bin/strapi.js @@ -272,18 +272,21 @@ program .command('export') .description('Export data from Strapi to file') .addOption( - new Option('--encrypt [boolean]', `Encrypt output file using the 'aes-128-ecb' algorithm`) + new Option( + '--encrypt ', + `Encrypt output file using the 'aes-128-ecb' algorithm. Prompts for key unless key option is used.` + ) .default(true) .argParser(parseInputBool) ) .addOption( - new Option('--compress [boolean]', 'Compress output file using gzip compression') + new Option('--compress ', 'Compress output file using gzip compression') .default(true) .argParser(parseInputBool) ) .addOption( new Option( - '--archive [boolean]', + '--archive ', 'Export all backup files into a single tar archive instead of a folder' ) .default(true) @@ -291,8 +294,8 @@ program ) .addOption( new Option( - '--key [encryption key]', - 'Provide encryption key in command instead of using a prompt' + '--key ', + 'Provide encryption key directly instead of being prompted' ) ) .addOption(