Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mmgoodnow committed Jun 30, 2023
1 parent 0b16355 commit 8d75927
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function createCommandWithSharedOptions(name, description) {
.option(
"--search-limit <number>",
"The number of searches before stops",
parseFloat,
parseInt,
fallback(fileConfig.searchLimit, 0)
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/config.template.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ module.exports = {

/**
* The number of searches to be done before it stop.
* Combine this with "excludeRecentSearch" and "searchCadence" for better results.
* Combine this with "excludeRecentSearch" and "searchCadence" to smooth long-term API usage patterns.
* Default is no limit.
*/
searchLimit: undefined,
Expand Down
2 changes: 1 addition & 1 deletion src/config.template.docker.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ module.exports = {

/**
* The number of searches to be done before stop.
* Combine this with "excludeRecentSearch" and "searchCadence" for better results.
* Combine this with "excludeRecentSearch" and "searchCadence" to smooth long-term API usage patterns.
* Default is no limit.
*/
searchLimit: undefined,
Expand Down

0 comments on commit 8d75927

Please sign in to comment.