1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Improve docs of optional indexing syntax to make it clear (ref #2588) (#2604)

* Revert "Typo in basic filters manual (#2588)"

This reverts commit 908f5d54a7.

* Improve docs of optional indexing syntax to make it clear
This commit is contained in:
itchyny
2023-06-06 05:43:06 +09:00
committed by GitHub
parent 908f5d54a7
commit 019a9ffbee
4 changed files with 8 additions and 8 deletions

View File

@@ -369,8 +369,8 @@ sections:
- title: "Optional Object Identifier-Index: `.foo?`"
body: |
Just like `.foo`, but does not output even an error when `.`
is not an array or an object.
Just like `.foo`, but does not output an error when `.` is not an
object.
examples:
- program: '.foo?'

View File

@@ -231,8 +231,8 @@ sections:
- title: "`.foo?`"
body: |
Just like `.foo`, but does not output even an error when `.`
is not an array or an object.
Just like `.foo`, but does not output an error when `.` is not an
object.
examples:
- program: '.foo?'

View File

@@ -297,8 +297,8 @@ sections:
- title: "`.foo?`"
body: |
Just like `.foo`, but does not output even an error when `.`
is not an array or an object.
Just like `.foo`, but does not output an error when `.` is not an
object.
examples:
- program: '.foo?'

View File

@@ -332,8 +332,8 @@ sections:
- title: "Optional Object Identifier-Index: `.foo?`"
body: |
Just like `.foo`, but does not output an error even when `.`
is not an array or an object.
Just like `.foo`, but does not output an error when `.` is not an
object.
examples:
- program: '.foo?'