Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 09a86e5f

Von Bernd Bleßmann vor etwa 4 Jahren hinzugefügt

  • ID 09a86e5f98486aec907ac313a5c97ae1565e6e0a
  • Vorgänger 15dc9376
  • Nachfolger 66446327

locales-Skript: Option -n / --no-custom-files raus

Funktioniert so ohnehin nicht mehr (wird ignoriert) und -n war doppelt vergeben
(Option n is ambiguous (no-check-files, no-custom-files))

Unterschiede anzeigen:

scripts/locales.pl
$OUTPUT_AUTOFLUSH = 1;
my $opt_v = 0;
my $opt_n = 0;
my $opt_c = 0;
my $opt_f = 0;
my $debug = 0;
......
push @progfiles, map { m:^(.+)/([^/]+)$:; [ $2, $1 ] } grep { /\.pm$/ } map { find_files($_) } @progdirs;
# put customized files into @customfiles
my %dir_h;
my @dbplfiles;
......
my ($opt_no_c, $ignore_for_compatiblity);
GetOptions(
'no-custom-files' => \$opt_n,
'check-files' => \$ignore_for_compatiblity,
'no-check-files' => \$opt_no_c,
'verbose' => \$opt_v,
......
locales.pl [options] lang_code
Options:
-n, --no-custom-files Do not process files whose name contains "_"
-c, --check-files Run extended checks on HTML files
-f, --filenames Show the filenames where new strings where found
-v, --verbose Be more verbose
......
=over 8
=item B<-n>, B<--no-custom-files>
Do not process files whose name contains "_", e.g. "custom_io.pl".
=item B<-c>, B<--check-files>
Run extended checks on the usage of templates. This can be used to

Auch abrufbar als: Unified diff