Updates:
Owner:
psobe...@gmail.com
Comment #6 on issue 31 by
psobe...@gmail.com: Add option after
Took a look at the code, and it looks good.
One problem I can think of is that continuation lines are hard to recognize
in a comment. For example:
# Set this to the list of allowed hosts
# hosts = host1
# host2
# host3
It's hard to tell if "host 2 is a continuation of the option value, or a
continuation of the comment.
Also, sometimes the comments are about blocks of options:
# Filtering options
# filtername = xxx
# filterhost = yyy
# Reporting options
# reportname = qqq
# reporthost = rrr
When a new value is added, if we added it after the end of the comment
instead of breaking up the comment, these issues would not come up. In
other words, we'd set the index for all option names that are seen in a
group of consecutive comment lines to be right after the end of the group.
Which behavior do you think would be better - breaking up the comment, or
inserting the new option after the end of the comment?