diff --git a/docs/app/references/error-messages.mdx b/docs/app/references/error-messages.mdx
index c9eb89e89a..0b32d057de 100644
--- a/docs/app/references/error-messages.mdx
+++ b/docs/app/references/error-messages.mdx
@@ -851,7 +851,7 @@ regedit or gpedit.
The `--auto-cancel-after-failures` flag is only available in Cypress 12.6.0 and
later, and must be used with the `cypress run` command.
-### --auto-cancel-after-failures must be a integer or false
+### --auto-cancel-after-failures must be an integer or false
You passed in an invalid value for the `--auto-cancel-after-failures` flag. It
must be an integer or false.
@@ -869,8 +869,7 @@ Cancellation.
You passed the `--auto-cancel-after-failures` flag, but this run originally
started with a different value on this `--auto-cancel-after-failures` flag.
-The first setting of `--auto-cancel-after-failures` for any given run takes
-precedent.
+The first setting of `--auto-cancel-after-failures` for any given run takes precedence.
## Page Load Errors