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=578f4deb52fc8ce83845f9e3395c251d36feeedc

commit 578f4deb52fc8ce83845f9e3395c251d36feeedc
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Jul 19 02:34:44 2022 +0200

    dpkg-buildpackage: Fix swapped long options for -m/-e
    
    Fixes: commit 293bd243a19149165fc4fd8830b16a51d471a5e9
---
 man/dpkg-buildpackage.pod    | 4 ++--
 scripts/dpkg-buildpackage.pl | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/man/dpkg-buildpackage.pod b/man/dpkg-buildpackage.pod
index 51b00377f..f838f8a66 100644
--- a/man/dpkg-buildpackage.pod
+++ b/man/dpkg-buildpackage.pod
@@ -244,9 +244,9 @@ Requires that the target be run with root rights.
 
 =item B<-C>I<changes-description>
 
-=item B<-m>, B<--release-by=>I<maintainer-address>
+=item B<-m>, B<--build-by=>I<maintainer-address>
 
-=item B<-e>, B<--build-by=>I<maintainer-address>
+=item B<-e>, B<--release-by=>I<maintainer-address>
 
 Passed unchanged to B<dpkg-genchanges>. See its manual page.
 
diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl
index 8086bfbd3..3bd521f7b 100755
--- a/scripts/dpkg-buildpackage.pl
+++ b/scripts/dpkg-buildpackage.pl
@@ -128,8 +128,8 @@ sub usage {
   -sa                         source includes orig, always.
   -sd                         source is diff and .dsc only.
   -v<version>                 changes since version <version>.
-  -m, --release-by=<maint>    maintainer for this release is <maint>.
-  -e, --build-by=<maint>      maintainer for this build is <maint>.
+  -m, --build-by=<maint>      maintainer for this build is <maint>.
+  -e, --release-by=<maint>    maintainer for this release is <maint>.
   -C<descfile>                changes are described in <descfile>.
       --changes-option=<opt>  pass option <opt> to dpkg-genchanges.')
     . "\n\n" . g_(
@@ -368,9 +368,9 @@ while (@ARGV) {
        set_build_type(BUILD_FULL, $_);
     } elsif (/^-v(.*)$/) {
        $since = $1;
-    } elsif (/^-m(.*)$/ or /^--release-by=(.*)$/) {
+    } elsif (/^-m(.*)$/ or /^--build-by=(.*)$/) {
        $maint = $1;
-    } elsif (/^-e(.*)$/ or /^--build-by=(.*)$/) {
+    } elsif (/^-e(.*)$/ or /^--release-by=(.*)$/) {
        $changedby = $1;
     } elsif (/^-C(.*)$/) {
        $desc = $1;

-- 
Dpkg.Org's dpkg

Reply via email to