The following commit has been merged in the master branch:
commit e8627adcddedf8603ab8781f5ea7bcdc2c444699
Author: James Vega <[email protected]>
Date:   Fri Feb 18 22:46:53 2011 -0500

    debchange: Require an argument for the --allow-lower-version option.
    
    Closes: #597675
    Signed-off-by: James Vega <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index ef7edcf..fc7a408 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ devscripts (2.10.71) UNRELEASED; urgency=low
     The local cache should be used when accessible, but not prevent downloads
     when it isn't.  (Closes: #599354)
   * build-rdeps: Remove hard-coded path for grep-dctrl.
+  * debchange: Require an argument for the --allow-lower-version option.
+    (Closes: #597675)
 
   [ Patrick Schoenfeld ]
   * build-rdeps: Update release_pattern for the new InRelease release files,
diff --git a/scripts/debchange.1 b/scripts/debchange.1
index 95b476a..6cb0bca 100644
--- a/scripts/debchange.1
+++ b/scripts/debchange.1
@@ -244,7 +244,7 @@ and add a backport upload changelog comment.
 Force a version number to be less than the current one (e.g., when
 backporting).
 .TP
-.BR \-\-allow\-lower\-version
+.B \-\-allow\-lower\-version \fIpattern\fR
 Allow a version number to be less than the current one if the new version
 matches the specified pattern.
 .TP
diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index b9d6d57..7e110c0 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -128,9 +128,9 @@ Options:
   -b, --force-bad-version
          Force a version to be less than the current one (e.g., when
          backporting)
-  --allow-lower-version
+  --allow-lower-version <pattern>
          Allow a version to be less than the current one (e.g., when
-         backporting) if it matches a specified pattern
+         backporting) if it matches the specified pattern
   --force-distribution
          Force the provided distribution to be used, even if it doesn't match
          the list of known distributions
@@ -318,7 +318,7 @@ GetOptions("help|h" => \$opt_help,
           "package=s" => \$opt_package,
           "v|newversion=s" => \$opt_v,
           "b|force-bad-version" => \$opt_b,
-          "allow-lower-version" => \$opt_allow_lower,
+          "allow-lower-version=s" => \$opt_allow_lower,
           "force-distribution" => \$opt_force_dist,
           "d|fromdirname" => \$opt_d,
           "p" => \$opt_p,

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to