Skip to content

Commit 8340797

Browse files
committed
fix(cli): remove shorthand of host option
1 parent ee774ed commit 8340797

File tree

1 file changed

+1
-1
lines changed
  • packages/@vuepress/cli/src

1 file changed

+1
-1
lines changed

Diff for: packages/@vuepress/cli/src/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export const cli = (): void => {
3838
.command('dev [sourceDir]', 'Start development server')
3939
.option('-c, --config <config>', 'Set path to config file')
4040
.option('-p, --port <port>', 'Use specified port (default: 8080)')
41-
.option('-h, --host <host>', 'Use specified host (default: 0.0.0.0)')
4241
.option('-t, --temp <temp>', 'Set the directory of the temporary files')
42+
.option('--host <host>', 'Use specified host (default: 0.0.0.0)')
4343
.option('--cache <cache>', 'Set the directory of the cache files')
4444
.option('--clean-cache', 'Clean the cache before dev')
4545
.option('--open', 'Open browser when ready')

0 commit comments

Comments
 (0)