fixes
parent
9169c3247f
commit
6b19afb3ef
|
@ -57,7 +57,7 @@ sub dumpvalues ($@) { #{{{
|
|||
} #}}}
|
||||
|
||||
sub dump ($) { #{{{
|
||||
my $file=shift;
|
||||
my $file=IkiWiki::possibly_foolish_untaint(shift);
|
||||
|
||||
my %setup=(%config);
|
||||
my @ret;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue