chiark / gitweb /
Actually provide a -p (--package=) option (!)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2016 22:03:26 +0000 (22:03 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2016 22:46:35 +0000 (22:46 +0000)
def02420f6d5 "-p option" abolished various adhocery in command line
positional parameter parsing and documented the -p option.  But it
didn't implement it!

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit

index ed7fd903d77ff5b191891b8ab8cb88ef6624d8a6..f945a3f2a75f26ba36892ddf709ee6d1e4ce08bf 100644 (file)
@@ -25,6 +25,7 @@ dgit (2.9~) unstable; urgency=low
   * Cope when cloning suite which doesn't receive uploads,
     like testing.  Closes:#842621.
   * Properly fetch all archive dgit view tags, as we intended.
+  * Actually provide a -p (--package=) option (!)
 
  --
 
diff --git a/dgit b/dgit
index f494bb4d5a266cd628523c58bbac372d3365e307..aab59b31e4a2877ef18460918a954b97c3e19354 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -5562,6 +5562,7 @@ defvalopt '',                '-k', '.+',      \$keyid;
 defvalopt '--existing-package','', '.*',      \$existing_package;
 defvalopt '--build-products-dir','','.*',     \$buildproductsdir;
 defvalopt '--clean',       '', $cleanmode_re, \$cleanmode;
+defvalopt '--package',   '-p',   $package_re, \$package;
 defvalopt '--quilt',     '', $quilt_modes_re, \$quilt_mode;
 
 defvalopt '', '-C', '.+', sub {