projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39386e9
)
locales.pl: Checks per Default durchführen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 6 Jun 2013 14:25:36 +0000
(16:25 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 13 Jun 2013 14:31:35 +0000
(16:31 +0200)
Zum Nicht-Durchführen gibt's dafür --no-check-files.
scripts/locales.pl
patch
|
blob
|
history
diff --git
a/scripts/locales.pl
b/scripts/locales.pl
index
9e6a4ae
..
53c3af5
100755
(executable)
--- 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;