docs: add missing --format description in pnpm outdated --help command (#8626)

This commit is contained in:
chlorine
2024-10-17 08:13:01 +08:00
committed by GitHub
parent f9a095c7c6
commit 3804a25d6e
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/plugin-commands-outdated": patch
---
Add missing `--format` description in `pnpm outdated --help` command

View File

@@ -107,6 +107,10 @@ For options that may be used with `-r`, see "pnpm help recursive"',
description: 'Don\'t check "optionalDependencies"',
name: '--no-optional',
},
{
description: 'Prints the outdated dependencies in the given format. Default is "table". Supported options: "table, list, json"',
name: '--format <format>',
},
{
description: 'Specify the sorting method. Currently only `name` is supported.',
name: '--sort-by',