From: Ian Jackson Date: Sun, 26 Jul 2015 16:55:48 +0000 (+0100) Subject: Option parsing: Do not permit --blah="" (which won't work anyway) X-Git-Tag: debian/1.1~36 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=ca067bcb7c0f986a103a7730d452a8c4b39a158f;ds=sidebyside Option parsing: Do not permit --blah="" (which won't work anyway) --- diff --git a/dgit b/dgit index c652e5db..13b47fd3 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, $_;