From: joey Date: Mon, 16 Oct 2006 18:33:59 +0000 (+0000) Subject: Fix support for --pingurl at the command line. X-Git-Tag: 1.30~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6aa477fe8b7f6b4d79e5e6fad58ae76e331444de;p=ikiwiki.git Fix support for --pingurl at the command line. --- diff --git a/debian/changelog b/debian/changelog index 3aeeccb11..4912a7b26 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,11 +1,12 @@ ikiwiki (1.30) UNRELEASED; urgency=low * Add no_override parameter to hook(). - * Add a shortcut plugin, inspired by Victor Moral's contributed shortcuts + * Add a shortcut plugin, inspired by Victor Moral's contributed shortcuts plugin, but featuring a more ikiwiki-ish syntax and with shortcuts that can be configured using a page in wiki. + * Fix support for --pingurl at the command line. - -- Joey Hess Sun, 15 Oct 2006 14:49:28 -0400 + -- Joey Hess Mon, 16 Oct 2006 14:32:56 -0400 ikiwiki (1.29) unstable; urgency=low diff --git a/ikiwiki.pl b/ikiwiki.pl index 6204ff194..60ba5e182 100755 --- a/ikiwiki.pl +++ b/ikiwiki.pl @@ -69,7 +69,7 @@ sub getconfig () { #{{{ "disable-plugin=s@" => sub { $config{plugin}=[grep { $_ ne $_[1] } @{$config{plugin}}]; }, - "pingurl" => sub { + "pingurl=s" => sub { push @{$config{pingurl}}, $_[1]; }, "version" => sub {