Переглянути джерело

Expand numeric literals and word abbreviation in usage error output

This avoids unneeded abbreviations, uses correct english, and should
help translators.
Guillem Jover 15 роки тому
батько
коміт
62449a0a27
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      scripts/dpkg-scanpackages.pl
  2. 1 1
      scripts/dpkg-scansources.pl

+ 1 - 1
scripts/dpkg-scanpackages.pl

@@ -155,7 +155,7 @@ sub load_override_extra
 usage() and exit 1 if not $result;
 
 if (not @ARGV >= 1 && @ARGV <= 3) {
-    usageerr(_g("1 to 3 args expected"));
+    usageerr(_g("one to three arguments expected"));
 }
 
 my $type = defined($options{type}) ? $options{type} : 'deb';

+ 1 - 1
scripts/dpkg-scansources.pl

@@ -299,7 +299,7 @@ sub main {
     my (@out);
 
     GetOptions(@Option_spec) or usage;
-    @ARGV >= 1 && @ARGV <= 3 or usageerr(_g("1 to 3 args expected\n"));
+    @ARGV >= 1 && @ARGV <= 3 or usageerr(_g("one to three arguments expected"));
 
     push @ARGV, undef		if @ARGV < 2;
     push @ARGV, ''		if @ARGV < 3;