Skip to content

Commit 9d4e85f

Browse files
fix(search): include searchlimit option in help output (#7297)
1 parent e1ecfa7 commit 9d4e85f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/commands/search.js

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class Search extends BaseCommand {
4242
'color',
4343
'parseable',
4444
'description',
45+
'searchlimit',
4546
'searchopts',
4647
'searchexclude',
4748
'registry',

tap-snapshots/test/lib/docs.js.test.cjs

+4-2
Original file line numberDiff line numberDiff line change
@@ -4069,8 +4069,9 @@ npm search [search terms ...]
40694069
40704070
Options:
40714071
[-l|--long] [--json] [--color|--no-color|--color always] [-p|--parseable]
4072-
[--no-description] [--searchopts <searchopts>] [--searchexclude <searchexclude>]
4073-
[--registry <registry>] [--prefer-online] [--prefer-offline] [--offline]
4072+
[--no-description] [--searchlimit <number>] [--searchopts <searchopts>]
4073+
[--searchexclude <searchexclude>] [--registry <registry>] [--prefer-online]
4074+
[--prefer-offline] [--offline]
40744075
40754076
aliases: find, s, se
40764077
@@ -4089,6 +4090,7 @@ Note: This command is unaware of workspaces.
40894090
#### \`color\`
40904091
#### \`parseable\`
40914092
#### \`description\`
4093+
#### \`searchlimit\`
40924094
#### \`searchopts\`
40934095
#### \`searchexclude\`
40944096
#### \`registry\`

0 commit comments

Comments
 (0)