1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Add a note about how to provide positional arguments without confusing the arg parser (#1989)

This commit is contained in:
Rob Wills
2023-06-13 16:45:02 -07:00
committed by GitHub
parent 2e5c3f490c
commit 9cb69ad5a5

View File

@@ -277,6 +277,12 @@ sections:
Remaining arguments are positional JSON text arguments. These
are available to the jq program as `$ARGS.positional[]`.
* `--`:
Terminates argument processing. Remaining arguments are
positional, either strings, JSON texts, or input filenames,
according to whether `--args` or `--jsonargs` were given.
* `--run-tests [filename]`:
Runs the tests in the given file or standard input. This must