Skip to content

Commit

Permalink
docs: add dest option (#1479)
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma authored and ulivz committed Mar 26, 2019
1 parent ec98427 commit 759195d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/docs/docs/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ See [port](../config/README.md#port).
### -t, --temp `<temp>`
See [temp](../config/README.md#temp).

### -c, --cache [cache]
### -c, --cache `[cache]`
### -no--cache
See [cache](../config/README.md#cache).

### --dest `<dest>`
See [dest](../config/README.md#dest).

### --debug
Start development server in debug mode.

Expand Down
7 changes: 5 additions & 2 deletions packages/docs/docs/zh/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ vuepress <command> targetDir [options]
### -t, --temp `<temp>`
查看 [temp](../config/README.md#temp)

### -c, --cache [cache]
### -no--cache [cache]
### -c, --cache `[cache]`
### -no--cache
查看 [cache](../config/README.md#cache)

### --dest `<dest>`
查看 [dest](../config/README.md#dest)

### --debug
以调试模式启动开发服务器。

Expand Down
1 change: 1 addition & 0 deletions packages/vuepress/lib/registerCoreCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module.exports = function (cli, options) {
.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('--dest <dest>', 'the output directory for build process')
.option('--no-cache', 'clean the cache before build')
.option('--debug', 'build in development mode for debugging')
.option('--silent', 'build static site in silent mode')
Expand Down

0 comments on commit 759195d

Please sign in to comment.