#1042931 dpkg-dev: dpkg-buildpackage -P option does not work

#1042931#5
Date:
2023-08-03 01:29:54 UTC
From:
To:
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.

#1042931#10
Date:
2023-08-03 07:38:01 UTC
From:
To:
Hi!

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

#1042931#15
Date:
2023-08-03 20:14:15 UTC
From:
To:
Hi Guillem,

oh.

Ah, hmm. I gathered the latter, but the former was somewhat
unexpected, considering I mostly encounter utilities that
use getopt(3) or ksh getopts which honour the POSIX utility
syntax guidelines.

Thanks,
//mirabilos