This commit is contained in:
Kovid Goyal
2018-06-04 15:24:05 +05:30
parent ad29d7f639
commit cd36e3b314
3 changed files with 12 additions and 10 deletions

View File

@@ -373,7 +373,7 @@ def render_conf(conf_name, all_options):
current_group = None
all_options = list(all_options)
for i, opt in enumerate(all_options):
if not opt.long_text or not opt.add_to_default:
if not opt.long_text or not opt.add_to_docs:
continue
if opt.group is not current_group:
if current_group and current_group.end_text: