Add --config option printing ./configure options used
This commit is contained in:
1 parent
7d64381016
commit
583e4a2718
4 files changed
+56
-4
No files matched your search
@@ -301,6 +301,12 @@ sections:
|
||||
|
||||
Output the jq version and exit with zero.
|
||||
|
||||
* `--build-configuration`:
|
||||
|
||||
Output the build configuration of jq and exit with zero.
|
||||
This output has no supported format or structure and may change
|
||||
without notice in future releases.
|
||||
|
||||
* `--help` / `-h`:
|
||||
|
||||
Output the jq help and exit with zero.
|
||||
@@ -1968,6 +1974,19 @@ sections:
|
||||
output:
|
||||
- '[{"a":{"b":2}}]'
|
||||
|
||||
- title: "`$JQ_BUILD_CONFIGURATION`"
|
||||
body: |
|
||||
|
||||
This builtin binding shows the jq executable's build
|
||||
configuration. Its value has no particular format, but
|
||||
it can be expected to be at least the `./configure`
|
||||
command-line arguments, and may be enriched in the
|
||||
future to include the version strings for the build
|
||||
tooling used.
|
||||
|
||||
Note that this can be overriden in the command-line
|
||||
with `--arg` and related options.
|
||||
|
||||
- title: "`$ENV`, `env`"
|
||||
body: |
|
||||
|
||||
|
||||
Reference in new issue
Block a user