summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-30 22:03:26 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-30 22:46:35 +0000
commitd9d6f6bd791bded81431beb335ff789ae3a74e16 (patch)
tree185cecc8141e860d5c3aa93bc7b9b6985237b1fa
parent641292893240af7b3fd429351cede2fb80a3e99b (diff)
Actually provide a -p (--package=) option (!)
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>
-rw-r--r--debian/changelog1
-rwxr-xr-xdgit1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index ed7fd90..f945a3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 f494bb4..aab59b3 100755
--- 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 {