Lines Matching defs:option
18 def add_info(sections, section, option, description):
26 sections[section].append((option, indent + wrapped_description))
42 option, description = None, []
48 if prev_section is not None: # Save last option from prev section
49 add_info(sections, current_section, option, description)
50 option, description = None, []
65 if option and description:
68 add_info(sections, current_section, option, description)
69 option, description = None, []
73 option = parts[0].strip()
77 if option.startswith("--print") or option.startswith("--time"):
85 # Split into two parts: sub-option and description
93 add_info(sections, current_section, option, description)
113 for option, desc in options:
114 markdown_lines.append(f"\n- `{option}`\n")
119 # Sub-option: correct formatting with bullet