Skip to main content

OptionHighlighter

Highlights our special options.

Attributes​

AttributeTypeDescription
highlightslist[str] = ['(^\W)(?P< switch >\-\w+)(?![a-zA-Z0-9])', '(^

Constructor​

Signature​

def OptionHighlighter() - > null

Methods​


highlights()​

def highlights() - > list

Highlights our special options.

Returns​

TypeDescription
listA list of regular expression patterns used to identify and style command-line switches, options, metavariables, and usage headers.