From 1eef66abd343f2df23c89c813900e9935285b828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=81ukomiak?= Date: Thu, 6 Jun 2019 15:58:14 +0200 Subject: [PATCH] fix(cli): Display only one, correct default for --preset flag Previously --help would print both "angular" and "conventionalcommits" as defaults for --preset, which was confusing. --- command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.js b/command.js index 0b70d492c..c03ce5604 100755 --- a/command.js +++ b/command.js @@ -94,7 +94,7 @@ const yargs = require('yargs') .option('preset', { type: 'string', default: defaults.preset, - describe: 'Commit message guideline preset (default: angular)' + describe: 'Commit message guideline preset' }) .check((argv) => { if (typeof argv.scripts !== 'object' || Array.isArray(argv.scripts)) {