]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
typo
[ikiwiki.git] / IkiWiki.pm
index 207bf3079a2083ccf047837af6601168d938ada8..e1c4b6e2fdcb97ac2902c6e6fe0e78061f927ead 100644 (file)
@@ -172,14 +172,14 @@ sub getsetup () { #{{{
        },
        verbose => {
                type => "boolean",
-               default => 0,
+               example => 1,
                description => "display verbose messages when building?",
                safe => 1,
                rebuild => 0,
        },
        syslog => {
                type => "boolean",
-               default => 0,
+               example => 1,
                description => "log to syslog?",
                safe => 1,
                rebuild => 0,
@@ -1045,7 +1045,7 @@ sub preprocess ($$$;$$) { #{{{
                my $params=shift;
                $params="" if ! defined $params;
 
-               f (length $escape) {
+               if (length $escape) {
                        return "[[$prefix$command $params]]";
                }
                elsif (exists $hooks{preprocess}{$command}) {