From df8ee8dd7984834edc22af177842efb6cc021e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henr=C3=A9=20Botha?= Date: Tue, 6 Jun 2023 01:36:46 +0200 Subject: [PATCH] docs: fix typo in halt_error example (#2336) --- docs/content/manual/manual.yml | 2 +- docs/content/manual/v1.6/manual.yml | 2 +- jq.1.prebuilt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml index ffaefe5a..a6d67982 100644 --- a/docs/content/manual/manual.yml +++ b/docs/content/manual/manual.yml @@ -1091,7 +1091,7 @@ sections: The given `exit_code` (defaulting to `5`) will be jq's exit status. - For example, `"Error: somthing went wrong\n"|halt_error(1)`. + For example, `"Error: something went wrong\n"|halt_error(1)`. - title: "`$__loc__`" body: | diff --git a/docs/content/manual/v1.6/manual.yml b/docs/content/manual/v1.6/manual.yml index ec1f45d2..54feeca3 100644 --- a/docs/content/manual/v1.6/manual.yml +++ b/docs/content/manual/v1.6/manual.yml @@ -1019,7 +1019,7 @@ sections: The given `exit_code` (defaulting to `5`) will be jq's exit status. - For example, `"Error: somthing went wrong\n"|halt_error(1)`. + For example, `"Error: something went wrong\n"|halt_error(1)`. - title: "`$__loc__`" body: | diff --git a/jq.1.prebuilt b/jq.1.prebuilt index e8a33e40..32057895 100644 --- a/jq.1.prebuilt +++ b/jq.1.prebuilt @@ -1119,7 +1119,7 @@ Stops the jq program with no further outputs\. The input will be printed on \fBs The given \fBexit_code\fR (defaulting to \fB5\fR) will be jq\'s exit status\. . .P -For example, \fB"Error: somthing went wrong\en"|halt_error(1)\fR\. +For example, \fB"Error: something went wrong\en"|halt_error(1)\fR\. . .SS "$__loc__" Produces an object with a "file" key and a "line" key, with the filename and line number where \fB$__loc__\fR occurs, as values\.