X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/54f600af14bf6dc067ffc30ec6f22d517001fe99..083c7b59f34f1d07d796e97587ea99c8710f22f9:/ikiwiki-calendar.in diff --git a/ikiwiki-calendar.in b/ikiwiki-calendar.in index 04352b970..037ef7df4 100755 --- a/ikiwiki-calendar.in +++ b/ikiwiki-calendar.in @@ -7,7 +7,7 @@ use IkiWiki::Setup; 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; @@ -59,7 +59,7 @@ foreach my $y ($startyear..$endyear) { } } -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");