From ca067bcb7c0f986a103a7730d452a8c4b39a158f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 26 Jul 2015 17:55:48 +0100 Subject: Option parsing: Do not permit --blah="" (which won't work anyway) --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, $_; -- cgit v1.2.3