"wrappergroup=s" => \$config{wrappergroup},
"usedirs!" => \$config{usedirs},
"prefix-directives!" => \$config{prefix_directives},
- "getctime" => \$config{getctime},
+ "getctime" => \$config{gettime},
+ "gettime!" => \$config{gettime},
"numbacklinks=i" => \$config{numbacklinks},
"rcs=s" => \$config{rcs},
"no-rcs" => sub { $config{rcs}="" },
die gettext("usage: --set-yaml var=value"), "\n";
}
eval q{use YAML::Any};
+ eval q{use YAML} if $@;
die $@ if $@;
- $config{$var}=Load($val);
+ eval q{$YAML::Syck::ImplicitUnicode=1};
+ $config{$var}=Load($val."\n");
},
"version" => sub {
print "ikiwiki version $IkiWiki::version\n";