From c8a9c261504d2efae7ff56d889633bdfe1c8f999 Mon Sep 17 00:00:00 2001 From: acli Date: Tue, 10 Feb 2004 09:40:21 +0000 Subject: [PATCH] Minor correction in help text This handling for --help works too, and is less wordy --- misc/translator/tmpl_process.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/misc/translator/tmpl_process.pl b/misc/translator/tmpl_process.pl index b82dd12177..416a7a4379 100755 --- a/misc/translator/tmpl_process.pl +++ b/misc/translator/tmpl_process.pl @@ -18,11 +18,9 @@ GetOptions( 'type=s' => \$type, 'exclude=s' => \@excludes, 'sep=s' => \$split_char, - 'help' => \$help, + 'help' => sub { help() }, ) || (usage(), exit(-1)); -help() if $help; - # utiliser glob() pour tous les fichiers d'un repertoire my $action = shift or usage(); @@ -427,7 +425,7 @@ options can be : Specify the output directory to use when generating the translated input files. - -r or --recursive= + -r or --recursive Use the recursive mode to process every entry in subdirectories. Note: Symbolic links used to link directories are not supported. -- 2.39.5