Skip to content

Commit

Permalink
fix(cli): fix help for --root (#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
twitwi committed Jan 8, 2021
1 parent b7a0222 commit 7a55c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/cli.ts
Expand Up @@ -47,7 +47,7 @@ function cleanOptions(options: GlobalCLIOptions) {

cli
.option('-c, --config <file>', `[string] use specified config file`)
.option('-r, --root <path>', `[string] use specified config file`)
.option('-r, --root <path>', `[string] use specified root directory`)
.option('-l, --logLevel <level>', `[string] silent | error | warn | all`)
.option('-d, --debug [feat]', `[string | boolean] show debug logs`)
.option('-f, --filter <filter>', `[string] filter debug logs`)
Expand Down

0 comments on commit 7a55c5b

Please sign in to comment.