Skip to content

Commit e9cf359

Browse files
committed
test(cli): update accoring to yargs v16 output #2111
1 parent 204f36d commit e9cf359

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

@commitlint/cli/src/cli.test.ts

+13-13
Original file line numberDiff line numberDiff line change
@@ -437,25 +437,25 @@ test('should print help', async () => {
437437
[input] reads from stdin if --edit, --env, --from and --to are omitted
438438
439439
Options:
440-
--color, -c toggle colored output [boolean] [default: true]
441-
--config, -g path to the config file [string]
442-
--cwd, -d directory to execute in
440+
-c, --color toggle colored output [boolean] [default: true]
441+
-g, --config path to the config file [string]
442+
-d, --cwd directory to execute in
443443
[string] [default: (Working Directory)]
444-
--edit, -e read last commit message from the specified file or
444+
-e, --edit read last commit message from the specified file or
445445
fallbacks to ./.git/COMMIT_EDITMSG [string]
446-
--env, -E check message in the file at path given by environment
446+
-E, --env check message in the file at path given by environment
447447
variable value [string]
448-
--extends, -x array of shareable configurations to extend [array]
449-
--help-url, -H help url in error message [string]
450-
--from, -f lower end of the commit range to lint; applies if
448+
-x, --extends array of shareable configurations to extend [array]
449+
-H, --help-url help url in error message [string]
450+
-f, --from lower end of the commit range to lint; applies if
451451
edit=false [string]
452-
--format, -o output format of the results [string]
453-
--parser-preset, -p configuration preset to use for
452+
-o, --format output format of the results [string]
453+
-p, --parser-preset configuration preset to use for
454454
conventional-commits-parser [string]
455-
--quiet, -q toggle console output [boolean] [default: false]
456-
--to, -t upper end of the commit range to lint; applies if
455+
-q, --quiet toggle console output [boolean] [default: false]
456+
-t, --to upper end of the commit range to lint; applies if
457457
edit=false [string]
458-
--verbose, -V enable verbose output for reports without problems
458+
-V, --verbose enable verbose output for reports without problems
459459
[boolean]
460460
-v, --version display version information [boolean]
461461
-h, --help Show help [boolean]"

0 commit comments

Comments
 (0)