Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Rob Wills · committed by GitHub · parent 2e5c3f4 · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:docs/content/manual/manual.yml+6 added
274 unmodified lines
275 * `--jsonargs`:276277 Remaining arguments are positional JSON text arguments. These278 are available to the jq program as `$ARGS.positional[]`.279 280 * `--`:281282 Terminates argument processing. Remaining arguments are283 positional, either strings, JSON texts, or input filenames,284 according to whether `--args` or `--jsonargs` were given.285286 * `--run-tests [filename]`:287288 Runs the tests in the given file or standard input. This must289 be the last option given and does not honor all preceding
3123 unmodified lines