Преглед на файлове

dpkg-parsechangelog: Fix handling of --all option

Frank Lichtenheld преди 19 години
родител
ревизия
352ac7c7d2
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      scripts/dpkg-parsechangelog.pl

+ 2 - 1
scripts/dpkg-parsechangelog.pl

@@ -74,7 +74,8 @@ while (@ARGV) {
     if (m/^-l/ && length($_)>2) { $changelogfile=$POSTMATCH; next; }
     if (m/^-l/ && length($_)>2) { $changelogfile=$POSTMATCH; next; }
     m/^--$/ && last;
     m/^--$/ && last;
     m/^-[cfnostuv]/ && next;
     m/^-[cfnostuv]/ && next;
-    m/^--(all|count|file|format|from|offset|since|to|until)(.*)$/ && do {
+    m/^--all$/ && next;
+    m/^--(count|file|format|from|offset|since|to|until)(.*)$/ && do {
 	push(@ap, shift(@ARGV)) unless $2;
 	push(@ap, shift(@ARGV)) unless $2;
 	next;
 	next;
     };
     };