Skip to content

Commit

Permalink
fix(search): include searchlimit option in help output (#7297)
Browse files Browse the repository at this point in the history
  • Loading branch information
10xLaCroixDrinker committed Mar 20, 2024
1 parent e1ecfa7 commit 9d4e85f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/commands/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class Search extends BaseCommand {
'color',
'parseable',
'description',
'searchlimit',
'searchopts',
'searchexclude',
'registry',
Expand Down
6 changes: 4 additions & 2 deletions tap-snapshots/test/lib/docs.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4069,8 +4069,9 @@ npm search [search terms ...]
Options:
[-l|--long] [--json] [--color|--no-color|--color always] [-p|--parseable]
[--no-description] [--searchopts <searchopts>] [--searchexclude <searchexclude>]
[--registry <registry>] [--prefer-online] [--prefer-offline] [--offline]
[--no-description] [--searchlimit <number>] [--searchopts <searchopts>]
[--searchexclude <searchexclude>] [--registry <registry>] [--prefer-online]
[--prefer-offline] [--offline]
aliases: find, s, se
Expand All @@ -4089,6 +4090,7 @@ Note: This command is unaware of workspaces.
#### \`color\`
#### \`parseable\`
#### \`description\`
#### \`searchlimit\`
#### \`searchopts\`
#### \`searchexclude\`
#### \`registry\`
Expand Down

0 comments on commit 9d4e85f

Please sign in to comment.