This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=e41f7de0f9e4b02f564cc045fa3cfcf7a45133e8 commit e41f7de0f9e4b02f564cc045fa3cfcf7a45133e8 Author: Guillem Jover <[email protected]> AuthorDate: Mon Aug 5 23:26:20 2024 +0200 scripts: Document when constructors take %opts A couple of constructors that take %opts had no documentation of this. --- scripts/Dpkg/BuildFlags.pm | 2 +- scripts/Dpkg/Control/Tests/Entry.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Dpkg/BuildFlags.pm b/scripts/Dpkg/BuildFlags.pm index 8aff53ecc..dec1ed751 100644 --- a/scripts/Dpkg/BuildFlags.pm +++ b/scripts/Dpkg/BuildFlags.pm @@ -42,7 +42,7 @@ use Dpkg::Vendor qw(run_vendor_hook); =over 4 -=item $bf = Dpkg::BuildFlags->new() +=item $bf = Dpkg::BuildFlags->new(%opts) Create a new Dpkg::BuildFlags object. It will be initialized based on the value of several configuration files and environment variables. diff --git a/scripts/Dpkg/Control/Tests/Entry.pm b/scripts/Dpkg/Control/Tests/Entry.pm index e277ef94c..bad12d665 100644 --- a/scripts/Dpkg/Control/Tests/Entry.pm +++ b/scripts/Dpkg/Control/Tests/Entry.pm @@ -43,7 +43,7 @@ either new or overridden with a different behavior. =over 4 -=item $entry = Dpkg::Control::Tests::Entry->new() +=item $entry = Dpkg::Control::Tests::Entry->new(%opts) Creates a new object. It does not represent a real control test entry until one has been successfully parsed or built from scratch. -- Dpkg.Org's dpkg

