use Getopt::Long;
sub usage () {
- die gettext("usage: ikiwiki-calendar [-f] your.setup [pagespec] [year]"), "\n";
+ die gettext("usage: ikiwiki-calendar [-f] your.setup [pagespec] [startyear [endyear]]"), "\n";
}
my $force=0;
}
}
-IkiWiki::rcs_commit_staged(gettext("calendar update"), undef, undef)
+IkiWiki::rcs_commit_staged(message => gettext("calendar update"))
if $config{rcs};
exec("ikiwiki", "-setup", $setup, "-refresh");