From c0afaa9159bbaf5ed926dd9fe1a821369111f421 Mon Sep 17 00:00:00 2001 From: Nigel Metheringham Date: Tue, 6 Jul 2010 20:07:46 +0100 Subject: [PATCH] Fixed command option defs --- script/gen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2