Skip to content

Commit

Permalink
fix(cli): dir options type
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 15, 2022
1 parent e3a7ff3 commit e50ca95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/cli.ts
Expand Up @@ -14,7 +14,7 @@ cli
.option('-u, --update', 'update snapshot')
.option('-w, --watch', 'watch mode')
.option('-t, --testNamePattern <pattern>', 'run tests with full names matching the specified pattern')
.option('--dir', 'base directory to scan for the test files')
.option('--dir <path>', 'base directory to scan for the test files')
.option('--ui', 'enable UI')
.option('--open', 'open UI automatically (default: !process.env.CI))')
.option('--api [api]', 'serve API, available options: --api.port <port>, --api.host [host] and --api.strictPort')
Expand Down

0 comments on commit e50ca95

Please sign in to comment.