From c953d93523cf2d88686e076f9abd4b661a9e8b0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 4 Oct 2024 19:23:17 +0200 Subject: [PATCH] fix(v8): mark boolean CLI options as such (#861) --- components/git/v8.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/git/v8.js b/components/git/v8.js index 753c2e26..b0c2879e 100644 --- a/components/git/v8.js +++ b/components/git/v8.js @@ -22,6 +22,7 @@ export function builder(yargs) { default: 'lkgr' }); yargs.option('version-bump', { + type: 'boolean', describe: 'Bump the NODE_MODULE_VERSION constant', default: true }); @@ -39,10 +40,12 @@ export function builder(yargs) { builder: (yargs) => { yargs .option('bump', { + type: 'boolean', describe: 'Bump V8 embedder version number or patch version', default: true }) .option('squash', { + type: 'boolean', describe: 'If multiple commits are backported, squash them into one', default: false @@ -62,8 +65,8 @@ export function builder(yargs) { describe: 'Directory of an existing V8 clone' }) .option('verbose', { + type: 'boolean', describe: 'Enable verbose output', - boolean: true, default: false }); }