--- trunk/run.pl 2006/11/05 12:28:37 775 +++ trunk/run.pl 2006/12/13 10:08:27 790 @@ -21,6 +21,7 @@ use File::Slurp; use Data::Dump qw/dump/; use Storable qw/dclone/; +use Pod::Usage qw/pod2usage/; use Proc::Queue size => 1; use POSIX ":sys_wait_h"; # imports WNOHANG @@ -31,7 +32,7 @@ B -Options: +=head1 OPTIONS =over 4 @@ -107,6 +108,7 @@ my $parallel = 0; my $only_links = 0; my $merge = 0; +my $help; my $log = _new WebPAC::Common()->_get_logger(); @@ -125,8 +127,11 @@ "parallel=i" => \$parallel, "only-links!" => \$only_links, "merge" => \$merge, + "help" => \$help, ); +pod2usage(-verbose => 2) if ($help); + my $config = new WebPAC::Config( path => $config_path ); #print "config = ",dump($config) if ($debug);