From 7537f21b1b2a0c1b4e10367d85ad6f092da2b899 Mon Sep 17 00:00:00 2001 From: Christian Boehlke Date: Sun, 5 Jan 2020 17:37:26 +0100 Subject: [PATCH] docs: Fix broken links (#7222) --- docs/cli.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli.md b/docs/cli.md index 5dab730fc..86f5feced 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -51,7 +51,7 @@ Human-friendly status messages help project contributors react on possible probl To minimise the number of times `prettier --check` finds unformatted files, you may be interested in configuring a [pre-commit hook](precommit.md) in your repo. Applying this practice will minimise the number of times the CI fails because of code formatting problems. -If you need to pipe the list of unformatted files to another command, you can use [`--list-different`](cli.md#list-different) flag instead of `--check`. +If you need to pipe the list of unformatted files to another command, you can use [`--list-different`](cli.md#--list-different) flag instead of `--check`. ### Exit codes @@ -112,7 +112,7 @@ Another useful flag is `--list-different` (or `-l`) which prints the filenames o prettier --single-quote --list-different "src/**/*.js" ``` -You can also use [`--check`](cli.md#check) flag, which works the same way as `--list-different`, but also prints a human-friendly summary message to stdout. +You can also use [`--check`](cli.md#--check) flag, which works the same way as `--list-different`, but also prints a human-friendly summary message to stdout. ## `--no-config`