@@ -89,7 +89,7 @@ const builtInFlags = [
89
89
// For configs
90
90
{
91
91
name : 'config' ,
92
- usage : '--config <path to webpack configuration file >' ,
92
+ usage : '--config <path-to-config> | --config <path-to-config> --config <path-to-config >' ,
93
93
alias : 'c' ,
94
94
type : String ,
95
95
multiple : true ,
@@ -98,7 +98,7 @@ const builtInFlags = [
98
98
} ,
99
99
{
100
100
name : 'config-name' ,
101
- usage : '--config-name <name of config>' ,
101
+ usage : '--config-name <name-of-config> | --config-name <name-of-config> --config-name <name-of- config>' ,
102
102
type : String ,
103
103
multiple : true ,
104
104
description : 'Name of the configuration to use' ,
@@ -114,7 +114,7 @@ const builtInFlags = [
114
114
// Complex configs
115
115
{
116
116
name : 'env' ,
117
- usage : '--env' ,
117
+ usage : '--env <variable> | --env <variable> --env <variable=value> ' ,
118
118
type : String ,
119
119
multipleType : true ,
120
120
description : 'Environment passed to the configuration when it is a function' ,
@@ -189,23 +189,23 @@ const builtInFlags = [
189
189
// For webpack@4
190
190
{
191
191
name : 'entry' ,
192
- usage : '--entry <path to entry file> | --entry <path> --entry <path>' ,
192
+ usage : '--entry <path-to- entry- file> | --entry <path> --entry <path>' ,
193
193
type : String ,
194
194
multiple : true ,
195
195
description : 'The entry point(s) of your application e.g. ./src/main.js' ,
196
196
link : 'https://webpack.js.org/concepts/#entry' ,
197
197
} ,
198
198
{
199
199
name : 'output-path' ,
200
- usage : '--output-path <path to output directory>' ,
200
+ usage : '--output-path <path-to- output- directory>' ,
201
201
alias : 'o' ,
202
202
type : String ,
203
203
description : 'Output location of the file generated by webpack e.g. ./dist/' ,
204
204
link : 'https://webpack.js.org/configuration/output/#outputpath' ,
205
205
} ,
206
206
{
207
207
name : 'target' ,
208
- usage : '--target <value>' ,
208
+ usage : '--target <value> | --target <value> --target <value> ' ,
209
209
alias : 't' ,
210
210
type : String ,
211
211
multiple : cli !== undefined ,
0 commit comments