From 4c8601693cecc07e13e8195aa5f0de298de40820 Mon Sep 17 00:00:00 2001 From: Gabriele Canepa Date: Sat, 4 Nov 2023 06:54:23 +0100 Subject: [PATCH] docs: fix typo in cli help message (#3737) --- @commitlint/cli/src/cli.test.ts | 2 +- @commitlint/cli/src/cli.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/@commitlint/cli/src/cli.test.ts b/@commitlint/cli/src/cli.test.ts index 55acc263a9..e0e1bb3e3d 100644 --- a/@commitlint/cli/src/cli.test.ts +++ b/@commitlint/cli/src/cli.test.ts @@ -524,7 +524,7 @@ test('should print help', async () => { -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 addditional git log arguments as space separated string, + --git-log-args additional git log arguments as space separated string, example '--first-parent --cherry-pick' [string] -o, --format output format of the results [string] -p, --parser-preset configuration preset to use for diff --git a/@commitlint/cli/src/cli.ts b/@commitlint/cli/src/cli.ts index f4e1c025ae..8d7c202121 100644 --- a/@commitlint/cli/src/cli.ts +++ b/@commitlint/cli/src/cli.ts @@ -79,7 +79,7 @@ const cli = yargs }, 'git-log-args': { description: - "addditional git log arguments as space separated string, example '--first-parent --cherry-pick'", + "additional git log arguments as space separated string, example '--first-parent --cherry-pick'", type: 'string', }, format: {