Skip to content

Commit 311bae3

Browse files
authored
fix: improve description for 'configtest' command (#2379)
1 parent 6b31614 commit 311bae3

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

OPTIONS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ Global options:
794794
795795
Commands:
796796
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
797-
configtest|t [config-path] Tests webpack configuration against validation errors.
797+
configtest|t [config-path] Validate a webpack configuration.
798798
help|h [command] [option] Display help for commands and options.
799799
info|i [options] Outputs information about your system.
800800
init|c [scaffold...] [options] Initialize a new webpack configuration.

packages/configtest/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@webpack-cli/configtest",
33
"version": "1.0.0",
4-
"description": "Tests webpack configuration against validation errors.",
4+
"description": "Validate a webpack configuration.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
77
"license": "MIT",

packages/configtest/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class ConfigTestCommand {
66
{
77
name: 'configtest [config-path]',
88
alias: 't',
9-
description: 'Tests webpack configuration against validation errors.',
9+
description: 'Validate a webpack configuration.',
1010
pkg: '@webpack-cli/configtest',
1111
},
1212
[],

packages/webpack-cli/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,17 @@ npx webpack-cli --help verbose
6363
### Available Commands
6464

6565
```
66-
build|bundle|b [options] Run webpack (default command, can be omitted).
67-
watch|w [options] Run webpack and watch for files changes.
68-
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
66+
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
67+
configtest|t [config-path] Validate a webpack configuration.
6968
help|h [command] [option] Display help for commands and options.
70-
serve|s [options] Run the webpack dev server.
7169
info|i [options] Outputs information about your system.
72-
init|c [options] [scaffold...] Initialize a new webpack configuration.
70+
init|c [scaffold...] [options] Initialize a new webpack configuration.
7371
loader|l [output-path] Scaffold a loader.
7472
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
75-
configtest|t [config-path] Tests webpack configuration against validation errors.
7673
plugin|p [output-path] Scaffold a plugin.
74+
serve|s [entries...] [options] Run the webpack dev server.
75+
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
76+
watch|w [entries...] [options] Run webpack and watch for files changes.
7777
```
7878

7979
### webpack 4

0 commit comments

Comments
 (0)