From 1355455f83bd0cbac40ee841d86354b5cb5f0089 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 29 Sep 2009 09:00:53 +0000 Subject: [PATCH] --locales-dir is now config/locales by default --- script/locale/merge-from-translatewiki | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/locale/merge-from-translatewiki b/script/locale/merge-from-translatewiki index f053593b4..ab89b61d9 100644 --- a/script/locale/merge-from-translatewiki +++ b/script/locale/merge-from-translatewiki @@ -54,7 +54,7 @@ Print this help message. =item --locales-dir -The locales dir we'll merge stuff into. E.g. C. +The locales dir we'll merge stuff into. F by default. =item --only-new @@ -73,14 +73,14 @@ Getopt::Long::Parser->new( config => [ qw< bundling no_ignore_case no_require_order pass_through > ], )->getoptions( 'h|help' => \my $help, - 'locales-dir=s' => \my $locales_dir, + 'locales-dir=s' => \(my $locales_dir = 'config/locales'), 'only-new' => \my $only_new, ) or help(); # On --help help() if $help; -help() unless $locales_dir; +help() unless $locales_dir and -d $locales_dir; ### ### Main -- 2.39.5