From: Nigel Metheringham Date: Tue, 6 Jul 2010 19:07:46 +0000 (+0100) Subject: Fixed command option defs X-Git-Tag: exim-4_89_1~111 X-Git-Url: https://git.exim.org/exim-website.git/commitdiff_plain/c0afaa9159bbaf5ed926dd9fe1a821369111f421 Fixed command option defs --- diff --git a/script/gen.pl b/script/gen.pl index 140df44..0db1261 100755 --- a/script/gen.pl +++ b/script/gen.pl @@ -253,7 +253,7 @@ sub mkdirp { sub parse_arguments { my %opt = ( spec => [], filter => [], help => 0, web => 0, minify => 1 ); - GetOptions( \%opt, 'help|h!', 'web!', 'spec=s{}', 'filter=s{}', 'latest=s', 'tmpl=s', 'docroot=s', 'minify!' ) + GetOptions( \%opt, 'help|h!', 'web!', 'spec=s{1,}', 'filter=s{1,}', 'latest=s', 'tmpl=s', 'docroot=s', 'minify!' ) || help( 1, 'Bad options' ); ## --help