Skip to content

Commit

Permalink
fix(cli): Display only one, correct default for --preset flag
Browse files Browse the repository at this point in the history
Previously --help would print both "angular" and "conventionalcommits" as defaults for --preset, which was confusing.
  • Loading branch information
pioluk committed Jun 6, 2019
1 parent 3aaf72e commit 1eef66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 1eef66a

Please sign in to comment.