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\`