Skip to content

Commit 210f301

Browse files
committed
feat(api-v3): invert includeUnverified option default value
This changes the default value of the `includeUnverified` option from `false` to `true` for the `ba` command. BREAKING CHANGE: The `includeUnverified` option of the `ba` command now defaults to `true`, per Troy's recommendation. Although there are not many unverified breaches in the system, it's possible you will get more breaches back than you did previously. You may explicitly disable this by negating the value for this option.
1 parent 6a9826e commit 210f301

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/ba.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const builder: CommandBuilder<
5353
alias: 'include-unverified',
5454
describe: 'include unverified breaches in the results',
5555
type: 'boolean',
56-
default: false,
56+
default: true,
5757
})
5858
.option('t', {
5959
alias: 'truncate',
@@ -81,7 +81,7 @@ export const builder: CommandBuilder<
8181
* @param {string} [argv.domainFilter] a domain by which to filter the results
8282
* (default: all domains)
8383
* @param {boolean} [argv.includeUnverified] include "unverified" breaches in
84-
* the results (by default, only verified breaches are included)
84+
* the results (default: true)
8585
* @param {boolean} [argv.truncate] truncate the results to only include the
8686
* name of each breach (default: true)
8787
* @param {boolean} [argv.raw] output the raw JSON data (default: false)

0 commit comments

Comments
 (0)