Skip to content

Commit

Permalink
test(cli): update accoring to yargs v16 output #2111
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat committed Sep 9, 2020
1 parent 204f36d commit e9cf359
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions @commitlint/cli/src/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,25 +437,25 @@ test('should print help', async () => {
[input] reads from stdin if --edit, --env, --from and --to are omitted
Options:
--color, -c toggle colored output [boolean] [default: true]
--config, -g path to the config file [string]
--cwd, -d directory to execute in
-c, --color toggle colored output [boolean] [default: true]
-g, --config path to the config file [string]
-d, --cwd directory to execute in
[string] [default: (Working Directory)]
--edit, -e read last commit message from the specified file or
-e, --edit read last commit message from the specified file or
fallbacks to ./.git/COMMIT_EDITMSG [string]
--env, -E check message in the file at path given by environment
-E, --env check message in the file at path given by environment
variable value [string]
--extends, -x array of shareable configurations to extend [array]
--help-url, -H help url in error message [string]
--from, -f lower end of the commit range to lint; applies if
-x, --extends array of shareable configurations to extend [array]
-H, --help-url help url in error message [string]
-f, --from lower end of the commit range to lint; applies if
edit=false [string]
--format, -o output format of the results [string]
--parser-preset, -p configuration preset to use for
-o, --format output format of the results [string]
-p, --parser-preset configuration preset to use for
conventional-commits-parser [string]
--quiet, -q toggle console output [boolean] [default: false]
--to, -t upper end of the commit range to lint; applies if
-q, --quiet toggle console output [boolean] [default: false]
-t, --to upper end of the commit range to lint; applies if
edit=false [string]
--verbose, -V enable verbose output for reports without problems
-V, --verbose enable verbose output for reports without problems
[boolean]
-v, --version display version information [boolean]
-h, --help Show help [boolean]"
Expand Down

0 comments on commit e9cf359

Please sign in to comment.