summaryrefslogtreecommitdiffstats
path: root/jq.1.prebuilt
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2023-08-02 15:52:53 -0500
committerNico Williams <nico@cryptonector.com>2023-08-19 17:40:08 -0500
commit583e4a27188a2db097dd043dd203b9c106bba100 (patch)
treefba0bc0a43341b57628962036173889fc4d62606 /jq.1.prebuilt
parent7d643810163a944f8fec5c891b9053c12069b509 (diff)
Add --config option printing ./configure options used
Diffstat (limited to 'jq.1.prebuilt')
-rw-r--r--jq.1.prebuilt12
1 files changed, 12 insertions, 0 deletions
diff --git a/jq.1.prebuilt b/jq.1.prebuilt
index 162881c1..3c656748 100644
--- a/jq.1.prebuilt
+++ b/jq.1.prebuilt
@@ -235,6 +235,12 @@ Windows users using WSL, MSYS2, or Cygwin, should use this option when using a n
Output the jq version and exit with zero\.
.
.TP
+\fB\-\-build\-configuration\fR:
+.
+.IP
+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\.
+.
+.TP
\fB\-\-help\fR / \fB\-h\fR:
.
.IP
@@ -2146,6 +2152,12 @@ jq \'walk( if type == "object" then with_entries( \.key |= sub( "^_+"; "") ) els
.
.IP "" 0
.
+.SS "$JQ_BUILD_CONFIGURATION"
+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 \fB\./configure\fR command\-line arguments, and may be enriched in the future to include the version strings for the build tooling used\.
+.
+.P
+Note that this can be overriden in the command\-line with \fB\-\-arg\fR and related options\.
+.
.SS "$ENV, env"
\fB$ENV\fR is an object representing the environment variables as set when the jq program started\.
.