Selaa lähdekoodia

dpkg-vendor: Use usageerr instead of non-existent badusage

Guillem Jover 17 vuotta sitten
vanhempi
commit
289c179ef6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      scripts/dpkg-vendor.pl

+ 1 - 1
scripts/dpkg-vendor.pl

@@ -63,7 +63,7 @@ while (@ARGV) {
     if (m/^--vendor$/) {
         $vendor = shift(@ARGV);
     } elsif (m/^--(is|derives-from|query)$/) {
-        badusage(_g("two commands specified: --%s and --%s"), $1, $action)
+        usageerr(_g("two commands specified: --%s and --%s"), $1, $action)
             if defined($action);
         $action = $1;
         $param = shift(@ARGV);