From 9be28d7865a335a5e0f3d62a3e96178a6dc74a1b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 27 Jul 2008 19:19:04 -0400 Subject: handle options with no value and no example value --- IkiWiki/Setup/Standard.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'IkiWiki/Setup') diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm index 9d8ec3851..9d4732b6f 100644 --- a/IkiWiki/Setup/Standard.pm +++ b/IkiWiki/Setup/Standard.pm @@ -74,6 +74,9 @@ sub dumpvalues ($@) { #{{{ elsif (exists $info{example}) { push @ret, dumpline($key, $info{example}, $info{type}, "#"); } + else { + push @ret, dumpline($key, "", $info{type}, "#"); + } } return @ret; } #}}} -- cgit v1.2.3