docs: fix typo in halt_error example (#2336)
This commit is contained in:
1 parent
b7f9587bb9
commit
df8ee8dd79
3 files changed
+3
-3
No files matched your search
@@ -1091,7 +1091,7 @@ sections:
|
|||||||
The given `exit_code` (defaulting to `5`) will be jq's exit
|
The given `exit_code` (defaulting to `5`) will be jq's exit
|
||||||
status.
|
status.
|
||||||
|
|
||||||
For example, `"Error: somthing went wrong\n"|halt_error(1)`.
|
For example, `"Error: something went wrong\n"|halt_error(1)`.
|
||||||
|
|
||||||
- title: "`$__loc__`"
|
- title: "`$__loc__`"
|
||||||
body: |
|
body: |
|
||||||
|
|||||||
@@ -1019,7 +1019,7 @@ sections:
|
|||||||
The given `exit_code` (defaulting to `5`) will be jq's exit
|
The given `exit_code` (defaulting to `5`) will be jq's exit
|
||||||
status.
|
status.
|
||||||
|
|
||||||
For example, `"Error: somthing went wrong\n"|halt_error(1)`.
|
For example, `"Error: something went wrong\n"|halt_error(1)`.
|
||||||
|
|
||||||
- title: "`$__loc__`"
|
- title: "`$__loc__`"
|
||||||
body: |
|
body: |
|
||||||
|
|||||||
+1
-1
@@ -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\.
|
The given \fBexit_code\fR (defaulting to \fB5\fR) will be jq\'s exit status\.
|
||||||
.
|
.
|
||||||
.P
|
.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__"
|
.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\.
|
Produces an object with a "file" key and a "line" key, with the filename and line number where \fB$__loc__\fR occurs, as values\.
|
||||||
|
|||||||
Reference in new issue
Block a user