Add a note about how to provide positional arguments without confusing the arg parser (#1989)
This commit is contained in:
1 parent
2e5c3f490c
commit
9cb69ad5a5
1 file changed
+6
@@ -276,6 +276,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]`:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user