diff --git a/OPTIONS.md b/OPTIONS.md index f50337bd4d5..d0ddda43f04 100644 --- a/OPTIONS.md +++ b/OPTIONS.md @@ -858,7 +858,7 @@ Commands: configtest|t [config-path] Validate a webpack configuration. help|h [command] [option] Display help for commands and options. info|i [options] Outputs information about your system. - init|c [generation-path] [options] Initialize a new webpack configuration. + init|c [generation-path] [options] Initialize a new webpack project. loader|l [output-path] Scaffold a loader. migrate|m [new-config-path] Migrate a configuration to a new version. plugin|p [output-path] Scaffold a plugin. diff --git a/README.md b/README.md index 5c3717d8a69..31ee39461c3 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Thus, webpack CLI provides different commands for many common tasks. - `build|bundle|b [entries...] [options]` - Run webpack (default command, can be omitted). - [`configtest|t [config-path]`](./packages/configtest/README.md#webpack-cli-configtest) - Validate a webpack configuration. - `help|h [command] [option]` - Display help for commands and options. -- [`init|c [scaffold...] [options]`](./INIT.md#webpack-cli-init) - Create a new webpack configuration. +- [`init|c [generation-path] [options]`](./INIT.md#webpack-cli-init) - Create a new webpack project. - [`info|i [options]`](./packages/info/README.md#webpack-cli-info) - Returns information related to the local environment. - [`migrate|m [new-config-path]`](https://www.npmjs.com/package/@webpack-cli/migrate) - Migrate project from one version to another. - [`plugin|p [output-path]`](./packages/generators#generators) - Initiate new plugin project. diff --git a/packages/generators/src/index.ts b/packages/generators/src/index.ts index c63a9a5eda8..273293bac8d 100644 --- a/packages/generators/src/index.ts +++ b/packages/generators/src/index.ts @@ -13,7 +13,7 @@ class GeneratorsCommand { { name: 'init [generation-path]', alias: 'c', - description: 'Initialize a new webpack configuration.', + description: 'Initialize a new webpack project.', usage: '[generation-path] [options]', pkg: '@webpack-cli/generators', }, diff --git a/packages/webpack-cli/README.md b/packages/webpack-cli/README.md index 72c9dd71a00..3b9bb4d0810 100644 --- a/packages/webpack-cli/README.md +++ b/packages/webpack-cli/README.md @@ -67,7 +67,7 @@ npx webpack-cli --help verbose configtest|t [config-path] Validate a webpack configuration. help|h [command] [option] Display help for commands and options. info|i [options] Outputs information about your system. - init|c [scaffold...] [options] Initialize a new webpack configuration. + init|c [generation-path] [options] Initialize a new webpack project. loader|l [output-path] Scaffold a loader. migrate|m [new-config-path] Migrate a configuration to a new version. plugin|p [output-path] Scaffold a plugin.