We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aba841 commit a7ee15aCopy full SHA for a7ee15a
1 file changed
bin/webpack.js
100755
100644
@@ -196,6 +196,11 @@
196
}
197
});
198
199
+ if (yargs.argv._.length === 0) {
200
+ yargs.showHelp();
201
+ return;
202
+ }
203
+
204
// yargs will terminate the process early when the user uses help or version.
205
// This causes large help outputs to be cut short (https://github.com/nodejs/node/wiki/API-changes-between-v0.10-and-v4#process).
206
// To prevent this we use the yargs.parse API and exit the process normally
0 commit comments