OptionHighlighter
Highlights our special options.
Attributes
| Attribute | Type | Description |
|---|---|---|
| highlights | list[str] = ['(^ | \W)(?P< switch >\-\w+)(?![a-zA-Z0-9])', '(^ |
Constructor
Signature
def OptionHighlighter() - > null
Methods
highlights()
def highlights() - > list
Highlights our special options.
Returns
| Type | Description |
|---|---|
list | A list of regular expression patterns used to identify and style command-line switches, options, metavariables, and usage headers. |