mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
* 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:
@@ -369,8 +369,8 @@ sections:
|
|||||||
- title: "Optional Object Identifier-Index: `.foo?`"
|
- title: "Optional Object Identifier-Index: `.foo?`"
|
||||||
body: |
|
body: |
|
||||||
|
|
||||||
Just like `.foo`, but does not output even an error when `.`
|
Just like `.foo`, but does not output an error when `.` is not an
|
||||||
is not an array or an object.
|
object.
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- program: '.foo?'
|
- program: '.foo?'
|
||||||
|
|||||||
@@ -231,8 +231,8 @@ sections:
|
|||||||
- title: "`.foo?`"
|
- title: "`.foo?`"
|
||||||
body: |
|
body: |
|
||||||
|
|
||||||
Just like `.foo`, but does not output even an error when `.`
|
Just like `.foo`, but does not output an error when `.` is not an
|
||||||
is not an array or an object.
|
object.
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- program: '.foo?'
|
- program: '.foo?'
|
||||||
|
|||||||
@@ -297,8 +297,8 @@ sections:
|
|||||||
- title: "`.foo?`"
|
- title: "`.foo?`"
|
||||||
body: |
|
body: |
|
||||||
|
|
||||||
Just like `.foo`, but does not output even an error when `.`
|
Just like `.foo`, but does not output an error when `.` is not an
|
||||||
is not an array or an object.
|
object.
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- program: '.foo?'
|
- program: '.foo?'
|
||||||
|
|||||||
@@ -332,8 +332,8 @@ sections:
|
|||||||
- title: "Optional Object Identifier-Index: `.foo?`"
|
- title: "Optional Object Identifier-Index: `.foo?`"
|
||||||
body: |
|
body: |
|
||||||
|
|
||||||
Just like `.foo`, but does not output an error even when `.`
|
Just like `.foo`, but does not output an error when `.` is not an
|
||||||
is not an array or an object.
|
object.
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- program: '.foo?'
|
- program: '.foo?'
|
||||||
|
|||||||
Reference in New Issue
Block a user