diff --git a/packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js b/packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js index f2c98912efe..9fc5e0b2fb8 100644 --- a/packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js +++ b/packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js @@ -17,11 +17,17 @@ const { const yargs = require('yargs'); const argv = yargs + .usage('Usage: $0 [ ...]') .option('p', { + describe: + 'Platforms to generate schema for, this works on filenames: [.].(js|tsx?)', alias: 'platform', + default: null, }) .option('e', { + describe: 'Regular expression to exclude files from schema generation', alias: 'exclude', + default: null, }) .parseSync();