Skip to content

Commit

Permalink
chore: some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Nov 27, 2018
1 parent dd98d14 commit 9b99ca7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/@vuepress/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ exports.bootstrap = function ({

cli
.command('dev [targetDir]', 'start development server')
.option('-p, --port [port]', 'use specified port (default: 8080)')
.option('-t, --temp [temp]', 'set the directory of the temporary file')
.option('-p, --port <port>', 'use specified port (default: 8080)')
.option('-t, --temp <temp>', 'set the directory of the temporary file')
.option('-c, --cache [cache]', 'set the directory of cache')
.option('--host', 'use specified host (default: 0.0.0.0)')
.option('--host <host>', 'use specified host (default: 0.0.0.0)')
.option('--no-cache', 'clean the cache before build')
.option('--debug', 'start development server in debug mode')
.option('--silent', 'start development server in silent mode')
Expand Down Expand Up @@ -71,8 +71,8 @@ exports.bootstrap = function ({

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

0 comments on commit 9b99ca7

Please sign in to comment.