summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-26 17:55:48 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-26 19:55:31 +0100
commitca067bcb7c0f986a103a7730d452a8c4b39a158f (patch)
treecd91a968d9d14911317a5a03d21be255174e53d4
parent904a32db88f4a3856a046ca336fe7232dcca0b3d (diff)
Option parsing: Do not permit --blah="" (which won't work anyway)
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index c652e5d..13b47fd 100755
--- a/dgit
+++ b/dgit
@@ -3030,7 +3030,7 @@ sub parseopts () {
} elsif (m/^--since-version=([^_]+|_)$/) {
push @ropts, $_;
$changes_since_version = $1;
- } elsif (m/^--([-0-9a-z]+)=(.*)/s &&
+ } elsif (m/^--([-0-9a-z]+)=(.+)/s &&
($om = $opts_opt_map{$1}) &&
length $om->[0]) {
push @ropts, $_;