feat(cli): add -F short alias for --filter (#10821)

This commit is contained in:
Conny Brunnkvist
2026-03-01 21:51:34 +07:00
committed by GitHub
parent ebe166c30c
commit e1ea7799ea
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
---
"@pnpm/common-cli-options-help": patch
"pnpm": patch
---
Added `-F` as a short alias for the `--filter` option in the help output.

View File

@@ -72,6 +72,7 @@ export const FILTERING = {
{
description: 'Restricts the scope to package names matching the given pattern. E.g.: foo, "@bar/*"',
name: '--filter <pattern>',
shortAlias: '-F',
},
{
description: 'Includes all direct and indirect dependencies of the matched packages. E.g.: foo...',