[devscripts] 01/01: deb-reversion: Fix new-version spec in LONGOPTS
James McCoy
jamessan at debian.org
Fri Feb 3 03:04:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch master
in repository devscripts.
commit c5012cbdb90eb0c57f36ce1b972b359bc1515672
Author: James McCoy <jamessan at debian.org>
Date: Thu Feb 2 22:00:12 2017 -0500
deb-reversion: Fix new-version spec in LONGOPTS
The missing comma after "old-version:" was causing getopt to not know of
"new-version" as a valid option.
Signed-off-by: James McCoy <jamessan at debian.org>
---
debian/changelog | 7 +++++++
scripts/deb-reversion.sh | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index fea7de2..b61ae2a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+devscripts (2.17.2) UNRELEASED; urgency=medium
+
+ * deb-reversion:
+ + Correct parsing of long-form --new-version switch. (Closes: #853919)
+
+ -- James McCoy <jamessan at debian.org> Thu, 02 Feb 2017 21:42:22 -0500
+
devscripts (2.17.1) unstable; urgency=medium
[ Osamu Aoki ]
diff --git a/scripts/deb-reversion.sh b/scripts/deb-reversion.sh
index 61b477a..7300f3f 100755
--- a/scripts/deb-reversion.sh
+++ b/scripts/deb-reversion.sh
@@ -62,7 +62,7 @@ err()
CURDIR="$(pwd)"
SHORTOPTS=hVo:v:ck:Ds:b
-LONGOPTS=help,version,old-version:new-version:,calculate-only,hook:,debug,string:,force-bad-version
+LONGOPTS=help,version,old-version:,new-version:,calculate-only,hook:,debug,string:,force-bad-version
eval set -- "$(getopt -s bash -o $SHORTOPTS -l $LONGOPTS -n $PROGNAME -- "$@")"
CALCULATE=0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list