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

This commit is contained in:
Rob Wills authored and GitHub committed 2023-06-14 08:45:02 +09:00
1 parent 2e5c3f490c
commit 9cb69ad5a5
1 file changed
+6
+6
View File
@@ -277,6 +277,12 @@ sections:
Remaining arguments are positional JSON text arguments. These Remaining arguments are positional JSON text arguments. These
are available to the jq program as `$ARGS.positional[]`. 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]`: * `--run-tests [filename]`:
Runs the tests in the given file or standard input. This must Runs the tests in the given file or standard input. This must