From 3804a25d6e49ec421bedd70529cc28ee31a4f75a Mon Sep 17 00:00:00 2001 From: chlorine Date: Thu, 17 Oct 2024 08:13:01 +0800 Subject: [PATCH] docs: add missing `--format` description in `pnpm outdated --help` command (#8626) --- .changeset/soft-sheep-tickle.md | 5 +++++ reviewing/plugin-commands-outdated/src/outdated.ts | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/soft-sheep-tickle.md diff --git a/.changeset/soft-sheep-tickle.md b/.changeset/soft-sheep-tickle.md new file mode 100644 index 0000000000..cff5d93763 --- /dev/null +++ b/.changeset/soft-sheep-tickle.md @@ -0,0 +1,5 @@ +--- +"@pnpm/plugin-commands-outdated": patch +--- + +Add missing `--format` description in `pnpm outdated --help` command diff --git a/reviewing/plugin-commands-outdated/src/outdated.ts b/reviewing/plugin-commands-outdated/src/outdated.ts index f4fe3f1baf..e7377b618a 100644 --- a/reviewing/plugin-commands-outdated/src/outdated.ts +++ b/reviewing/plugin-commands-outdated/src/outdated.ts @@ -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 ', + }, { description: 'Specify the sorting method. Currently only `name` is supported.', name: '--sort-by',