diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-27 19:19:04 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-27 19:19:04 -0400 |
commit | 9be28d7865a335a5e0f3d62a3e96178a6dc74a1b (patch) | |
tree | b1f3fa146612b523fc9819c0553af2da95094416 /IkiWiki/Setup | |
parent | 36a58fe4644e8b59881d597d2cae71593a8d1ded (diff) |
handle options with no value and no example value
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r-- | IkiWiki/Setup/Standard.pm | 3 |
1 files changed, 3 insertions, 0 deletions
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; } #}}} |