Docs: add description of --from-file option
This commit is contained in:
1 parent
0feeb7d0d4
commit
da723d3e11
1 file changed
+5
@@ -125,6 +125,11 @@ sections:
|
|||||||
formatted as a JSON string with quotes. This can be useful for
|
formatted as a JSON string with quotes. This can be useful for
|
||||||
making jq filters talk to non-JSON-based systems.
|
making jq filters talk to non-JSON-based systems.
|
||||||
|
|
||||||
|
* `-f filename` / `--from-file filename`:
|
||||||
|
|
||||||
|
Read filter from the file rather than from a command line, like
|
||||||
|
awk's -f option. You can also use '#' to make comments.
|
||||||
|
|
||||||
* `--arg name value`:
|
* `--arg name value`:
|
||||||
|
|
||||||
This option passes a value to the jq program as a predefined
|
This option passes a value to the jq program as a predefined
|
||||||
|
|||||||
Reference in new issue
Block a user