From 210f301cbd6552d406387f65c3236d13a07b1a13 Mon Sep 17 00:00:00 2001 From: Justin Hall Date: Fri, 19 Jul 2019 17:16:55 -0600 Subject: [PATCH] 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. --- src/commands/ba.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/ba.ts b/src/commands/ba.ts index cb77b5d6..eeee3757 100644 --- a/src/commands/ba.ts +++ b/src/commands/ba.ts @@ -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', @@ -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)