X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/de9104d4e2571dcdf28659b3fd244c3c77f02740..e083e4caa8175c4ccc45dd06e9b9cd784dcbbc94:/doc/bugs/Command-line_arguments_should_override_settings_in_the_setup_file.mdwn diff --git a/doc/bugs/Command-line_arguments_should_override_settings_in_the_setup_file.mdwn b/doc/bugs/Command-line_arguments_should_override_settings_in_the_setup_file.mdwn index c93cdc6ad..22b1c2cb5 100644 --- a/doc/bugs/Command-line_arguments_should_override_settings_in_the_setup_file.mdwn +++ b/doc/bugs/Command-line_arguments_should_override_settings_in_the_setup_file.mdwn @@ -1,5 +1,5 @@ In setting up my wiki I followed the [[setup]] instruction which point -to an [[ikiwiki.setup]] file that contains "verbose => 0". +to an ikiwiki.setup file that contains "verbose => 0". I hadn't noticed that setting in there, but later when I changed my standard command of: @@ -17,7 +17,9 @@ So two suggestions to fix this: 1. Make command-line arguments override settings in the setup file > This is difficult to do, since reading a setup file replaces values for -> config items with the values in the setup file. +> config items with the values in the setup file. Also, when you say +> --setup foo, you're asking ikiwiki to set up the wiki using the +> comnfiguration in file foo. Which is what it does. 2. Comment out all settings in the example setup file that are simply setting options to their default values. That way, the file will @@ -25,4 +27,6 @@ So two suggestions to fix this: work for these settings while they remain commented out. > I've done that, I also fixed some issues with --verbose handling earlier. +> I'm pretty sure that those fixes fix the real issue, so calling this +> [[done]]. > --[[Joey]]