diff --git a/docs/reference/cli.md b/docs/reference/cli.md index aa9bf4d2de5..ca3b3c64bc8 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -3,7 +3,7 @@ ```sh ❯ npx commitlint --help -@commitlint/cli@11.0.0 - Lint your commit messages +@commitlint/cli@19.3.0 - Lint your commit messages [input] reads from stdin if --edit, --env, --from and --to are omitted @@ -22,6 +22,10 @@ Options: -H, --help-url help url in error message [string] -f, --from lower end of the commit range to lint; applies if edit=false [string] + --git-log-args additional git log arguments as space separated string, + example '--first-parent --cherry-pick' [string] + -l, --last just analyze the last commit; applies if edit=false + [boolean] -o, --format output format of the results [string] -p, --parser-preset configuration preset to use for conventional-commits-parser [string] @@ -30,6 +34,8 @@ Options: edit=false [string] -V, --verbose enable verbose output for reports without problems [boolean] + -s, --strict enable strict mode; result code 2 for warnings, 3 for + errors [boolean] -v, --version display version information [boolean] -h, --help Show help [boolean] ```