From: Moritz Bunkus Date: Thu, 6 Jun 2013 14:25:36 +0000 (+0200) Subject: locales.pl: Checks per Default durchführen X-Git-Tag: release-3.1.0beta1~331^2~51 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=03c6a4f505ce6c914c03066c1e00ab13bce1845b;p=kivitendo-erp.git locales.pl: Checks per Default durchführen Zum Nicht-Durchführen gibt's dafür --no-check-files. --- 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;