aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/ikiwiki_lacks_a_--quiet.mdwn
diff options
context:
space:
mode:
authorhttp://jmtd.livejournal.com/ <http://jmtd.livejournal.com/@web>2011-04-20 17:57:04 -0400
committerJoey Hess <joey@kitenet.net>2011-04-20 17:57:04 -0400
commit20b088b2a4ee43c5680226895830473903fe696a (patch)
treeca5bac449e8945482a959fcb5d723d88f8c81b9d /doc/bugs/ikiwiki_lacks_a_--quiet.mdwn
parent13a29768647bd64e7ffa29cc07087246222184c4 (diff)
downloadikiwiki-20b088b2a4ee43c5680226895830473903fe696a.tar
ikiwiki-20b088b2a4ee43c5680226895830473903fe696a.tar.gz
verbose on? (otherwise yes, there are a few verbose prints)
Diffstat (limited to 'doc/bugs/ikiwiki_lacks_a_--quiet.mdwn')
-rw-r--r--doc/bugs/ikiwiki_lacks_a_--quiet.mdwn24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/bugs/ikiwiki_lacks_a_--quiet.mdwn b/doc/bugs/ikiwiki_lacks_a_--quiet.mdwn
index fc9644843..d74a40875 100644
--- a/doc/bugs/ikiwiki_lacks_a_--quiet.mdwn
+++ b/doc/bugs/ikiwiki_lacks_a_--quiet.mdwn
@@ -18,3 +18,27 @@ report errors would be nice. -- RichiH
done
Yes, I can simply redirect the output, but an option would be cleaner, imo. -- Richard
+
+> The output above looks like verbose mode output to me (the scanning/building lines, at least). Check you haven't enabled it in your setup file by accident. I get the following:
+
+ $ ikiwiki --setup setup
+ successfully generated [cgi]
+ successfully generated [post-update]
+ skipping bad filename [...]
+
+> I think the following patch is enough to fix it (untested)
+
+ --- a/IkiWiki/Wrapper.pm
+ +++ b/IkiWiki/Wrapper.pm
+ @@ -237,8 +237,7 @@ EOF
+ error("rename $wrapper.new $wrapper: $!");
+ }
+ #translators: The parameter is a filename.
+ - printf(gettext("successfully generated %s"), $wrapper);
+ - print "\n";
+ + debug(gettext("successfully generated %s"), $wrapper);
+ }
+
+ 1
+
+> -- [[Jon]]