From 03c6a4f505ce6c914c03066c1e00ab13bce1845b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 6 Jun 2013 16:25:36 +0200 Subject: [PATCH] =?utf8?q?locales.pl:=20Checks=20per=20Default=20durchf?= =?utf8?q?=C3=BChren?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Zum Nicht-Durchführen gibt's dafür --no-check-files. --- scripts/locales.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/locales.pl b/scripts/locales.pl index 9e6a4ae58..53c3af5be 100755 --- a/scripts/locales.pl +++ b/scripts/locales.pl @@ -238,15 +238,20 @@ EOL sub parse_args { my ($help, $man); + my ($opt_no_c, $ignore_for_compatiblity); + GetOptions( 'no-custom-files' => \$opt_n, - 'check-files' => \$opt_c, + 'check-files' => \$ignore_for_compatiblity, + 'no-check-files' => \$opt_no_c, 'verbose' => \$opt_v, 'help' => \$help, 'man' => \$man, 'debug' => \$debug, ); + $opt_c = !$opt_no_c; + if ($help) { pod2usage(1); exit 0; -- 2.20.1