Skip to content

Commit

Permalink
fix: description for init command (#2528)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Mar 23, 2021
1 parent cc45d3e commit 0f0e403
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OPTIONS.md
Expand Up @@ -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 <config-path> [new-config-path] Migrate a configuration to a new version.
plugin|p [output-path] Scaffold a plugin.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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 <config-path> [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.
Expand Down
2 changes: 1 addition & 1 deletion packages/generators/src/index.ts
Expand Up @@ -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',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-cli/README.md
Expand Up @@ -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 <config-path> [new-config-path] Migrate a configuration to a new version.
plugin|p [output-path] Scaffold a plugin.
Expand Down

0 comments on commit 0f0e403

Please sign in to comment.