From 90b09f08cded4a8a79d86274cf989b623a9c86de Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 1 Jun 2007 13:59:35 +0000 Subject: [PATCH] web commit by cworth --- ...d_override_settings_in_the_setup_file.mdwn | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 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 new file mode 100644 index 000000000..36387a8c9 --- /dev/null +++ b/doc/bugs/Command-line_arguments_should_override_settings_in_the_setup_file.mdwn @@ -0,0 +1,23 @@ +In setting up my wiki I followed the [[setup]] instruction which point +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: + + ikiwiki --setup ikiwiki.setup + +to: + + ikiwiki --verbose --setup ikiwiki.setup + +I was quite surprised that that change didn't have any effect. + +So two suggestions to fix this: + +1. Make command-line arguments override settings in the setup file + +2. Comment out all settings in the example setup file that are simply + setting options to their default values. That way, the file will + still be self-documenting, but command-line arguments will at least + work for these settings while they remain commented out. + -- 2.26.2