Skip to content

Commit 9aafaf5

Browse files
committed
chore: remove -h from --host
1 parent 35eb4f2 commit 9aafaf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ exports.bootstrap = function ({
4040
cli
4141
.command('dev [targetDir]', 'start development server')
4242
.option('-p, --port [port]', 'use specified port (default: 8080)')
43-
.option('-h, --host [host]', 'use specified host (default: 0.0.0.0)')
4443
.option('-t, --temp [temp]', 'set the directory of the temporary file')
4544
.option('-c, --cache [cache]', 'set the directory of cache')
45+
.option('--host', 'use specified host (default: 0.0.0.0)')
4646
.option('--no-cache', 'clean the cache before build')
4747
.option('--debug', 'start development server in debug mode')
4848
.option('--silent', 'start development server in silent mode')

0 commit comments

Comments
 (0)