From a14250854b504f87f70360172e914620ddd4d785 Mon Sep 17 00:00:00 2001 From: Jamie King Date: Sun, 17 Mar 2024 20:01:05 -0700 Subject: [PATCH] fix(search): searchlimit option was unlisted --- lib/commands/search.js | 1 + tap-snapshots/test/lib/docs.js.test.cjs | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/commands/search.js b/lib/commands/search.js index f4a4ce3249142..bb94d6da20f1c 100644 --- a/lib/commands/search.js +++ b/lib/commands/search.js @@ -42,6 +42,7 @@ class Search extends BaseCommand { 'color', 'parseable', 'description', + 'searchlimit', 'searchopts', 'searchexclude', 'registry', diff --git a/tap-snapshots/test/lib/docs.js.test.cjs b/tap-snapshots/test/lib/docs.js.test.cjs index 7490d818ab43b..1ec89cf5671df 100644 --- a/tap-snapshots/test/lib/docs.js.test.cjs +++ b/tap-snapshots/test/lib/docs.js.test.cjs @@ -4069,8 +4069,9 @@ npm search [search terms ...] Options: [-l|--long] [--json] [--color|--no-color|--color always] [-p|--parseable] -[--no-description] [--searchopts ] [--searchexclude ] -[--registry ] [--prefer-online] [--prefer-offline] [--offline] +[--no-description] [--searchlimit ] [--searchopts ] +[--searchexclude ] [--registry ] [--prefer-online] +[--prefer-offline] [--offline] aliases: find, s, se @@ -4089,6 +4090,7 @@ Note: This command is unaware of workspaces. #### \`color\` #### \`parseable\` #### \`description\` +#### \`searchlimit\` #### \`searchopts\` #### \`searchexclude\` #### \`registry\`