summaryrefslogtreecommitdiff
path: root/man/dpkg-buildflags.man
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2015-03-06 23:38:05 +0100
committerGuillem Jover <guillem@debian.org>2017-09-24 21:03:10 +0200
commit04f99e25b9d4fa3f3d63b89ae4d702364d407c26 (patch)
treea2102425549eceb14db87d74fb006b907e2fb6b6 /man/dpkg-buildflags.man
parentfca1bfe8406898105d1d724fb808f0cbcf985ae4 (diff)
downloaddpkg-04f99e25b9d4fa3f3d63b89ae4d702364d407c26.tar.gz
dpkg-buildflags: Add new --query command
This command is equivalent to --status but in deb822 format.
Diffstat (limited to 'man/dpkg-buildflags.man')
-rw-r--r--man/dpkg-buildflags.man30
1 files changed, 30 insertions, 0 deletions
diff --git a/man/dpkg-buildflags.man b/man/dpkg-buildflags.man
index 3b5d5ba85..6bfd059f0 100644
--- a/man/dpkg-buildflags.man
+++ b/man/dpkg-buildflags.man
@@ -134,6 +134,36 @@ the flag is set/modified by a user-specific configuration;
the flag is set/modified by an environment-specific configuration.
.RE
.TP
+.BI \-\-query
+Print any information that can be useful to explain the behaviour of the
+program: current vendor, relevant environment variables, feature areas,
+state of all feature flags, and the compiler flags with their origin
+(since dpkg 1.19.0).
+.IP
+For example:
+.nf
+ Vendor: Debian
+ Environment:
+ DEB_CFLAGS_SET=-O0 -Wall
+
+ Area: qa
+ Features:
+ bug=no
+ canary=no
+
+ Area: reproducible
+ Features:
+ timeless=no
+
+ Flag: CFLAGS
+ Value: -O0 -Wall
+ Origin: env
+
+ Flag: CPPFLAGS
+ Value: -D_FORTIFY_SOURCE=2
+ Origin: vendor
+.fi
+.TP
.BI \-\-query\-features " area"
Print the features enabled for a given area (since dpkg 1.16.2).
The only currently recognized