Skip to content

Commit

Permalink
feat(api-v3): invert includeUnverified option default value
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wKovacs64 committed Jul 19, 2019
1 parent 6a9826e commit 210f301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/ba.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const builder: CommandBuilder<
alias: 'include-unverified',
describe: 'include unverified breaches in the results',
type: 'boolean',
default: false,
default: true,
})
.option('t', {
alias: 'truncate',
Expand Down Expand Up @@ -81,7 +81,7 @@ export const builder: CommandBuilder<
* @param {string} [argv.domainFilter] a domain by which to filter the results
* (default: all domains)
* @param {boolean} [argv.includeUnverified] include "unverified" breaches in
* the results (by default, only verified breaches are included)
* the results (default: true)
* @param {boolean} [argv.truncate] truncate the results to only include the
* name of each breach (default: true)
* @param {boolean} [argv.raw] output the raw JSON data (default: false)
Expand Down

0 comments on commit 210f301

Please sign in to comment.