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?`"
|
||||
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?'
|
||||
|
||||
@@ -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?'
|
||||
|
||||
@@ -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?'
|
||||
|
||||
@@ -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?'
|
||||
|
||||
Reference in New Issue
Block a user