File tree 3 files changed +6
-4
lines changed
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 () => {
581
581
582
582
Options:
583
583
-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]
585
585
--print-config print resolved config [string] [choices: "", "text", "json"]
586
586
-d, --cwd directory to execute in [string] [default: (Working Directory)]
587
587
-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))
47
47
} ,
48
48
config : {
49
49
alias : 'g' ,
50
- description : 'path to the config file' ,
50
+ description :
51
+ 'path to the config file; result code 9 if config is missing' ,
51
52
type : 'string' ,
52
53
} ,
53
54
'print-config' : {
Original file line number Diff line number Diff line change 3
3
``` sh
4
4
❯ npx commitlint --help
5
5
6
- @commitlint/cli@19.3 .0 - Lint your commit messages
6
+ @commitlint/cli@19.5 .0 - Lint your commit messages
7
7
8
8
[input] reads from stdin if --edit, --env, --from and --to are omitted
9
9
10
10
Options:
11
11
-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]
13
14
--print-config print resolved config
14
15
[string] [choices: " " , " text" , " json" ]
15
16
-d, --cwd directory to execute in
You can’t perform that action at this time.
0 commit comments