File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -581,7 +581,7 @@ test('should print help', async () => {
581581
582582 Options:
583583 -c, --color toggle colored output [boolean] [default: true]
584- -g, --config path to the config file [string]
584+ -g, --config path to the config file; result code 9 if config is missing [string]
585585 --print-config print resolved config [string] [choices: "", "text", "json"]
586586 -d, --cwd directory to execute in [string] [default: (Working Directory)]
587587 -e, --edit read last commit message from the specified file or fallbacks to ./.git/COMMIT_EDITMSG [string]
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ const cli = yargs(process.argv.slice(2))
4747 } ,
4848 config : {
4949 alias : 'g' ,
50- description : 'path to the config file' ,
50+ description :
51+ 'path to the config file; result code 9 if config is missing' ,
5152 type : 'string' ,
5253 } ,
5354 'print-config' : {
Original file line number Diff line number Diff line change 33``` sh
44❯ npx commitlint --help
55
6- @commitlint/cli@19.3 .0 - Lint your commit messages
6+ @commitlint/cli@19.5 .0 - Lint your commit messages
77
88[input] reads from stdin if --edit, --env, --from and --to are omitted
99
1010Options:
1111 -c, --color toggle colored output [boolean] [default: true]
12- -g, --config path to the config file [string]
12+ -g, --config path to the config file; result code 9 if config is
13+ missing [string]
1314 --print-config print resolved config
1415 [string] [choices: " " , " text" , " json" ]
1516 -d, --cwd directory to execute in
You can’t perform that action at this time.
0 commit comments