Hi! On Thu, 2023-08-03 at 03:29:54 +0200, Thorsten Glaser wrote: > Package: dpkg-dev > Version: 1.21.22 > Severity: normal > X-Debbugs-Cc: t...@mirbsd.de > > I tried to use build profiles for the first time today, and after > running into trouble with pbuilder I tried to run it manually and > found that even that doesn’t work: > > $ dpkg-buildpackage -P nocheck > dpkg-buildpackage: error: unknown option or argument nocheck > > Use --help for program usage information.
I think there's another report about "suboptimal option parsing" behavior, which I'll check later whether it makes sense to merge. Otherwise you should use -Pprofile or --build-profiles=profile. Thanks, Guillem