The --help string states:
--print-errors show verbose information about missing or conflicting packages,default if --cflags or --libs given on the command line
while the code actually lists:
if (want_my_version ||
So I presume that the verbose errors are enabled by default by commands which actually cause output. If that's the intent, the conditional misses some of the options:
- want_provides, want_requires, want_requires_private,
Fixed in commit 86c45f0. Thanks for the report.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.