master
Joey Hess 2008-07-26 13:10:52 -04:00
parent 9169c3247f
commit 6b19afb3ef
2 changed files with 5 additions and 4 deletions

View File

@ -57,7 +57,7 @@ sub dumpvalues ($@) { #{{{
} #}}}
sub dump ($) { #{{{
my $file=shift;
my $file=IkiWiki::possibly_foolish_untaint(shift);
my %setup=(%config);
my @ret;

View File

@ -389,9 +389,10 @@ describing the option. For example:
rebuild => 0,
},
* `type` can be "boolean", "string", "integer", or `undef` (use for complex
types). Note that the type is the type of the leaf values; the `%config`
option may be an array or hash of these.
* `type` can be "boolean", "string", "integer", "internal" (used for values
that are not user-visible) or `undef` (use for complex types). Note that
the type is the type of the leaf values; the `%config` option may be an
array or hash of these.
* `default` should be set to the default value of the option, if any.
* `example` can be set to an example value, which will not be used by default.
* `description` is a short description of the option.