Skip to content

Commit

Permalink
fix(cli): remove shorthand of host option
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Dec 9, 2020
1 parent ee774ed commit 8340797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/cli/src/cli.ts
Expand Up @@ -38,8 +38,8 @@ export const cli = (): void => {
.command('dev [sourceDir]', 'Start development server')
.option('-c, --config <config>', 'Set path to config file')
.option('-p, --port <port>', 'Use specified port (default: 8080)')
.option('-h, --host <host>', 'Use specified host (default: 0.0.0.0)')
.option('-t, --temp <temp>', 'Set the directory of the temporary files')
.option('--host <host>', 'Use specified host (default: 0.0.0.0)')
.option('--cache <cache>', 'Set the directory of the cache files')
.option('--clean-cache', 'Clean the cache before dev')
.option('--open', 'Open browser when ready')
Expand Down

0 comments on commit 8340797

Please sign in to comment.