From 583e4a27188a2db097dd043dd203b9c106bba100 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Wed, 2 Aug 2023 15:52:53 -0500 Subject: Add --config option printing ./configure options used --- jq.1.prebuilt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'jq.1.prebuilt') 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\. . -- cgit v1.2.3