From 9d4246d74b6aca0394eff646711a81c3c22b0eaa Mon Sep 17 00:00:00 2001 From: lohit Date: Thu, 21 Nov 2024 17:51:18 +0530 Subject: [PATCH] changed `use-cookies` to `disable-cookies` support for sending cookies by default --- packages/bruno-cli/src/commands/run.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/bruno-cli/src/commands/run.js b/packages/bruno-cli/src/commands/run.js index 6f5b942d4..0e1de296b 100644 --- a/packages/bruno-cli/src/commands/run.js +++ b/packages/bruno-cli/src/commands/run.js @@ -211,7 +211,7 @@ const builder = async (yargs) => { description: 'The specified custom CA certificate (--cacert) will be used exclusively and the default truststore is ignored, if this option is specified. Evaluated in combination with "--cacert" only.' }) - .option('use-cookies', { + .option('disable-cookies', { type: 'boolean', default: false, description: 'Automatically save and sent cookies with requests' @@ -306,7 +306,7 @@ const handler = async function (argv) { filename, cacert, ignoreTruststore, - useCookies, + disableCookies, env, envVar, insecure, @@ -398,8 +398,8 @@ const handler = async function (argv) { if (insecure) { options['insecure'] = true; } - if (useCookies) { - options['useCookies'] = true; + if (disableCookies) { + options['disableCookies'] = true; } if (cacert && cacert.length) { if (insecure) {