@@ -39,10 +39,10 @@ exports.bootstrap = function ({
39
39
40
40
cli
41
41
. 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' )
44
44
. 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)' )
46
46
. option ( '--no-cache' , 'clean the cache before build' )
47
47
. option ( '--debug' , 'start development server in debug mode' )
48
48
. option ( '--silent' , 'start development server in silent mode' )
@@ -71,8 +71,8 @@ exports.bootstrap = function ({
71
71
72
72
cli
73
73
. 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' )
76
76
. option ( '-c, --cache [cache]' , 'set the directory of cache' )
77
77
. option ( '--no-cache' , 'clean the cache before build' )
78
78
. option ( '--debug' , 'build in development mode for debugging' )
0 commit comments