don't set values for verbose and syslog by default
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 5 Aug 2008 23:16:24 +0000 (19:16 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 5 Aug 2008 23:16:24 +0000 (19:16 -0400)
Setting the values in the setup file by default makes it annoyingly hard to
override them at the command line (since setup files override the command
line).

Both default to off if no value is set.

IkiWiki.pm

index 207bf3079a2083ccf047837af6601168d938ada8..bf4a0d415ab0afc7270f25ca1ab9a7b4c2187a10 100644 (file)
@@ -172,14 +172,14 @@ sub getsetup () { #{{{
        },
        verbose => {
                type => "boolean",
        },
        verbose => {
                type => "boolean",
-               default => 0,
+               example => 1,
                description => "display verbose messages when building?",
                safe => 1,
                rebuild => 0,
        },
        syslog => {
                type => "boolean",
                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,
                description => "log to syslog?",
                safe => 1,
                rebuild => 0,