Skip to content

Commit 9b99ca7

Browse files
committed
chore: some updates
1 parent dd98d14 commit 9b99ca7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/@vuepress/cli/index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ exports.bootstrap = function ({
3939

4040
cli
4141
.command('dev [targetDir]', 'start development server')
42-
.option('-p, --port [port]', 'use specified port (default: 8080)')
43-
.option('-t, --temp [temp]', 'set the directory of the temporary file')
42+
.option('-p, --port <port>', 'use specified port (default: 8080)')
43+
.option('-t, --temp <temp>', 'set the directory of the temporary file')
4444
.option('-c, --cache [cache]', 'set the directory of cache')
45-
.option('--host', 'use specified host (default: 0.0.0.0)')
45+
.option('--host <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')
@@ -71,8 +71,8 @@ exports.bootstrap = function ({
7171

7272
cli
7373
.command('build [targetDir]', 'build dir as static site')
74-
.option('-d, --dest [dest]', 'specify build output dir (default: .vuepress/dist)')
75-
.option('-t, --temp [temp]', 'set the directory of the temporary file')
74+
.option('-d, --dest <dest>', 'specify build output dir (default: .vuepress/dist)')
75+
.option('-t, --temp <temp>', 'set the directory of the temporary file')
7676
.option('-c, --cache [cache]', 'set the directory of cache')
7777
.option('--no-cache', 'clean the cache before build')
7878
.option('--debug', 'build in development mode for debugging')

0 commit comments

Comments
 (0)