Revision 09a86e5f
Von Bernd Bleßmann vor fast 4 Jahren hinzugefügt
scripts/locales.pl | ||
---|---|---|
31 | 31 |
$OUTPUT_AUTOFLUSH = 1; |
32 | 32 |
|
33 | 33 |
my $opt_v = 0; |
34 |
my $opt_n = 0; |
|
35 | 34 |
my $opt_c = 0; |
36 | 35 |
my $opt_f = 0; |
37 | 36 |
my $debug = 0; |
... | ... | |
97 | 96 |
|
98 | 97 |
push @progfiles, map { m:^(.+)/([^/]+)$:; [ $2, $1 ] } grep { /\.pm$/ } map { find_files($_) } @progdirs; |
99 | 98 |
|
100 |
# put customized files into @customfiles |
|
101 | 99 |
my %dir_h; |
102 | 100 |
|
103 | 101 |
my @dbplfiles; |
... | ... | |
263 | 261 |
my ($opt_no_c, $ignore_for_compatiblity); |
264 | 262 |
|
265 | 263 |
GetOptions( |
266 |
'no-custom-files' => \$opt_n, |
|
267 | 264 |
'check-files' => \$ignore_for_compatiblity, |
268 | 265 |
'no-check-files' => \$opt_no_c, |
269 | 266 |
'verbose' => \$opt_v, |
... | ... | |
768 | 765 |
locales.pl [options] lang_code |
769 | 766 |
|
770 | 767 |
Options: |
771 |
-n, --no-custom-files Do not process files whose name contains "_" |
|
772 | 768 |
-c, --check-files Run extended checks on HTML files |
773 | 769 |
-f, --filenames Show the filenames where new strings where found |
774 | 770 |
-v, --verbose Be more verbose |
... | ... | |
778 | 774 |
|
779 | 775 |
=over 8 |
780 | 776 |
|
781 |
=item B<-n>, B<--no-custom-files> |
|
782 |
|
|
783 |
Do not process files whose name contains "_", e.g. "custom_io.pl". |
|
784 |
|
|
785 | 777 |
=item B<-c>, B<--check-files> |
786 | 778 |
|
787 | 779 |
Run extended checks on the usage of templates. This can be used to |
Auch abrufbar als: Unified diff
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))