summaryrefslogtreecommitdiffstats
path: root/docs/content/3.manual/manual.yml
diff options
context:
space:
mode:
authorDavid Fetter <david@fetter.org>2017-10-27 18:46:57 -0400
committerNicolas Williams <nico@cryptonector.com>2017-12-11 12:17:17 -0600
commitb4742c125704817862968b2fd8796256e8d82e5f (patch)
treea942e1f2065c9f0daaad5286a3daa99234fedb76 /docs/content/3.manual/manual.yml
parent9a4576e7567dd38b91f28592b47eb6dafe0c4332 (diff)
Added rawfile
In passing, clean remnants of argfile from slurpfile docs.
Diffstat (limited to 'docs/content/3.manual/manual.yml')
-rw-r--r--docs/content/3.manual/manual.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml
index 91209a1e..34ef085f 100644
--- a/docs/content/3.manual/manual.yml
+++ b/docs/content/3.manual/manual.yml
@@ -236,10 +236,17 @@ sections:
This option reads all the JSON texts in the named file and binds
an array of the parsed JSON values to the given global variable.
- If you run jq with `--argfile foo bar`, then `$foo` is available
+ If you run jq with `--slurpfile foo bar`, then `$foo` is available
in the program and has an array whose elements correspond to the
texts in the file named `bar`.
+ * `--rawfile variable-name filename`:
+
+ This option reads in the named file and binds its contents to the given
+ global variable. If you run jq with `--rawfile foo bar`, then `$foo` is
+ available in the program and has a string whose contents are to the texs
+ in the file named `bar`.
+
* `--argfile variable-name filename`:
Do not use. Use `--slurpfile` instead.