mirror of
https://github.com/strapi/strapi.git
synced 2025-10-14 17:43:01 +00:00
fix help text
This commit is contained in:
parent
14aa228ab6
commit
244f8b704e
@ -103,14 +103,12 @@ const transferDataTypes = Object.keys(TransferGroupPresets);
|
|||||||
|
|
||||||
const excludeOption = new Option(
|
const excludeOption = new Option(
|
||||||
'--exclude <comma-separated data types>',
|
'--exclude <comma-separated data types>',
|
||||||
`Exclude this data. Options used here override --only. Available types: ${transferDataTypes.join(
|
`Exclude data using comma-separated types. Available types: ${transferDataTypes.join(',')}`
|
||||||
','
|
|
||||||
)}`
|
|
||||||
).argParser(getParseListWithChoices(transferDataTypes, 'Invalid options for "exclude"'));
|
).argParser(getParseListWithChoices(transferDataTypes, 'Invalid options for "exclude"'));
|
||||||
|
|
||||||
const onlyOption = new Option(
|
const onlyOption = new Option(
|
||||||
'--only <command-separated data types>',
|
'--only <command-separated data types>',
|
||||||
`Include only this data (plus schemas). Available types: ${transferDataTypes.join(',')}`
|
`Include only these types of data (plus schemas). Available types: ${transferDataTypes.join(',')}`
|
||||||
).argParser(getParseListWithChoices(transferDataTypes, 'Invalid options for "only"'));
|
).argParser(getParseListWithChoices(transferDataTypes, 'Invalid options for "only"'));
|
||||||
|
|
||||||
const validateExcludeOnly = (command) => {
|
const validateExcludeOnly = (command) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user