]> granicus.if.org Git - jq/commitdiff
Docs: add description of --from-file option 193/head
authorRyoichi KATO <ryo1kato@gmail.com>
Wed, 16 Oct 2013 12:42:29 +0000 (21:42 +0900)
committerRyoichi KATO <ryo1kato@gmail.com>
Wed, 16 Oct 2013 12:42:29 +0000 (21:42 +0900)
docs/content/3.manual/manual.yml

index 6fb839401b0e9e6d3dc5f102aeec012b490a4c95..193c37816d4a0bcd499a9506c23062dad662c725 100644 (file)
@@ -125,6 +125,11 @@ sections:
         formatted as a JSON string with quotes. This can be useful for
         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`:
 
         This option passes a value to the jq program as a predefined