diff options
author | Nicolas Williams <nico@cryptonector.com> | 2023-08-02 15:52:53 -0500 |
---|---|---|
committer | Nico Williams <nico@cryptonector.com> | 2023-08-19 17:40:08 -0500 |
commit | 583e4a27188a2db097dd043dd203b9c106bba100 (patch) | |
tree | fba0bc0a43341b57628962036173889fc4d62606 /jq.1.prebuilt | |
parent | 7d643810163a944f8fec5c891b9053c12069b509 (diff) |
Add --config option printing ./configure options used
Diffstat (limited to 'jq.1.prebuilt')
-rw-r--r-- | jq.1.prebuilt | 12 |
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\. . |