coloredcobra
coloredcobra copied to clipboard
Fix flag description hyphen incorrectly styled
When a flag description contains a hyphen, the flag style is incorrectly applied. For example, see the description of the --config flag:
This PR changes the flag regex to only match flags when the hyphen is preceded by a space.
Here's the same example after the fix:
Fixes #2