teambit / bit

A build system for development of composable software.
https://bit.dev
Other
17.91k stars 929 forks source link

fix(help), prevent unintended coloring in option descriptions #9284

Closed davidfirst closed 3 weeks ago

davidfirst commented 3 weeks ago

This PR fixes an issue where parts of the flag descriptions in the help output were being colored green unintentionally. Specifically, hyphenated words within descriptions (e.g., task-name, task-aspect-id) were partially colored as if they were command-line options.

The following has been done to fix it: