8000 feat!: rename `-f` to `-F` for workspace filter, `-f` now for `format` · rolldown/tsdown@727ada0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 727ada0

Browse files
committed
feat!: rename -f to -F for workspace filter, -f now for format
1 parent 4707c37 commit 727ada0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cli
1818
})
1919
.option('-c, --config <filename>', 'Use a custom config file')
2020
.option('--no-config', 'Disable config file')
21-
.option('--format <format>', 'Bundle format: esm, cjs, iife', {
21+
.option('-f, --format <format>', 'Bundle format: esm, cjs, iife', {
2222
default: 'esm',
2323
})
2424
.option('--clean', 'Clean output directory, --no-clean to disable')
@@ -48,7 +48,7 @@ cli
4848
.option('--tsconfig <tsconfig>', 'Set tsconfig path')
4949
.option('-W, --workspace [dir]', 'Enable workspace mode')
5050
.option(
51-
'-f, --filter <pattern>',
51+
'-F, --filter <pattern>',
5252
'Filter workspace packages, e.g. /regex/ or substring',
5353
)
5454
.action(async (input: string[], flags: Options) => {

0 commit comments

Comments
 (0)
0