]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/Command-line_arguments_should_override_settings_in_the_setup_file.mdwn
analysis
[ikiwiki.git] / doc / bugs / Command-line_arguments_should_override_settings_in_the_setup_file.mdwn
1 In setting up my wiki I followed the [[setup]] instruction which point
2 to an [[ikiwiki.setup]] file that contains "verbose => 0".
3
4 I hadn't noticed that setting in there, but later when I changed my
5 standard command of:
6
7         ikiwiki --setup ikiwiki.setup
8
9 to:
10
11         ikiwiki --verbose --setup ikiwiki.setup
12
13 I was quite surprised that that change didn't have any effect.
14
15 So two suggestions to fix this:
16
17 1. Make command-line arguments override settings in the setup file
18
19 2. Comment out all settings in the example setup file that are simply
20    setting options to their default values. That way, the file will
21    still be self-documenting, but command-line arguments will at least
22    work for these settings while they remain commented out.
23