Skip to content

Commit 24eee2d

Browse files
author
Ben Quarmby
committed
docs: add missing CLI options
1 parent 722d8ff commit 24eee2d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/reference/cli.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
```sh
44
❯ npx commitlint --help
55

6-
@commitlint/cli@11.0.0 - Lint your commit messages
6+
@commitlint/cli@19.3.0 - Lint your commit messages
77

88
[input] reads from stdin if --edit, --env, --from and --to are omitted
99

@@ -22,6 +22,10 @@ Options:
2222
-H, --help-url help url in error message [string]
2323
-f, --from lower end of the commit range to lint; applies if
2424
edit=false [string]
25+
--git-log-args additional git log arguments as space separated string,
26+
example '--first-parent --cherry-pick' [string]
27+
-l, --last just analyze the last commit; applies if edit=false
28+
[boolean]
2529
-o, --format output format of the results [string]
2630
-p, --parser-preset configuration preset to use for
2731
conventional-commits-parser [string]
@@ -30,6 +34,8 @@ Options:
3034
edit=false [string]
3135
-V, --verbose enable verbose output for reports without problems
3236
[boolean]
37+
-s, --strict enable strict mode; result code 2 for warnings, 3 for
38+
errors [boolean]
3339
-v, --version display version information [boolean]
3440
-h, --help Show help [boolean]
3541
```

0 commit comments

Comments
 (0)