}
$url =~ s/\/*$//g;
-my $sitemaper = Koha::Sitemapper->new(
+my $sitemapper = Koha::Sitemapper->new(
verbose => $verbose,
url => $url,
dir => $dir,
short => $short,
);
-$sitemaper->run();
+$sitemapper->run();
=head1 USAGE
=head1 SYNOPSIS
sitemap.pl --verbose
- sitemap.pl --noshort --url /home/koha/mylibrary/www
+ sitemap.pl --noshort --dir /home/koha/mylibrary/www
+ sitemap.pl --url opac.myDNSname.org
=head1 DESCRIPTION