chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
904a32d
)
Option parsing: Do not permit --blah="" (which won't work anyway)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 26 Jul 2015 16:55:48 +0000
(17:55 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 26 Jul 2015 18:55:31 +0000
(19:55 +0100)
dgit
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index c652e5db10113279fc22aa6d20ece200a641342f..13b47fd32b1fcd017cb6234965e9495b9000966e 100755
(executable)
--- 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, $_;