Skip to content

Commit a4c154a

Browse files
Fix incorrect CLI argument casing
1 parent 187c528 commit a4c154a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wmr/src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ prog
6161
.option('--compress', 'Enable compression (default: enabled)')
6262
.option('--profile', 'Generate build statistics')
6363
.option('--reload', 'Switch off hmr and reload on file saves')
64-
.option('--auto-install', 'Fetch missing npm packages from npm registry automatically (default: false')
64+
.option('--autoInstall', 'Fetch missing npm packages from npm registry automatically (default: false')
6565
.action(opts => {
6666
opts.optimize = !/false|0/.test(opts.compress);
6767
opts.compress = bool(opts.compress);

0 commit comments

Comments
 (0)