Skip to content

Commit

Permalink
chore: remove useless cli option (#5653)
Browse files Browse the repository at this point in the history
  • Loading branch information
ygj6 authored Nov 12, 2021
1 parent 40d503c commit 68e8e35
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/vite/src/node/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ interface GlobalCLIOptions {
'--'?: string[]
c?: boolean | string
config?: string
r?: string
root?: string
base?: string
l?: LogLevel
logLevel?: LogLevel
Expand All @@ -38,8 +36,6 @@ function cleanOptions<Options extends GlobalCLIOptions>(
delete ret['--']
delete ret.c
delete ret.config
delete ret.r
delete ret.root
delete ret.base
delete ret.l
delete ret.logLevel
Expand All @@ -55,7 +51,6 @@ function cleanOptions<Options extends GlobalCLIOptions>(

cli
.option('-c, --config <file>', `[string] use specified config file`)
.option('-r, --root <path>', `[string] use specified root directory`)
.option('--base <path>', `[string] public base path (default: /)`)
.option('-l, --logLevel <level>', `[string] info | warn | error | silent`)
.option('--clearScreen', `[boolean] allow/disable clear screen when logging`)
Expand Down

0 comments on commit 68e8e35

Please sign in to comment.