diff --git a/.changeset/add-filter-short-alias.md b/.changeset/add-filter-short-alias.md new file mode 100644 index 0000000000..39bf427a16 --- /dev/null +++ b/.changeset/add-filter-short-alias.md @@ -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. diff --git a/cli/common-cli-options-help/src/index.ts b/cli/common-cli-options-help/src/index.ts index 6a78e571fa..54ca17037d 100644 --- a/cli/common-cli-options-help/src/index.ts +++ b/cli/common-cli-options-help/src/index.ts @@ -72,6 +72,7 @@ export const FILTERING = { { description: 'Restricts the scope to package names matching the given pattern. E.g.: foo, "@bar/*"', name: '--filter ', + shortAlias: '-F', }, { description: 'Includes all direct and indirect dependencies of the matched packages. E.g.: foo...',