Skip to content

Commit b29ecf6

Browse files
committed
chore: cleanup
1 parent d1075ff commit b29ecf6

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

docs/guide/cli-generated.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,12 @@ Use `bundle` to bundle the config with esbuild or `runner` (experimental) to pro
806806

807807
Start Vitest without running tests. Tests will be running only on change. This option is ignored when CLI file filters are passed. (default: `false`)
808808

809+
### listTags
810+
811+
- **CLI:** `--listTags [type]`
812+
813+
List all available tags instead of running tests. `--list-tags=json` will output tags in JSON format, unless there are no tags.
814+
809815
### clearCache
810816

811817
- **CLI:** `--clearCache`

packages/vitest/src/node/cli/cli-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ export const cliOptionsConfig: VitestCLIOptions = {
786786
},
787787
},
788788
listTags: {
789-
description: 'List all available tags instead of running tests. If --list-tags=json is used, the output will be in JSON format, unless there are no tags.',
789+
description: 'List all available tags instead of running tests. `--list-tags=json` will output tags in JSON format, unless there are no tags.',
790790
argument: '[type]',
791791
},
792792
clearCache: {

0 commit comments

Comments
 (0)