(strings)
| 612 | else: |
| 613 | |
| 614 | def color_option_strings(strings): |
| 615 | parts = [] |
| 616 | for s in strings: |
| 617 | if self._is_long_option(s): |
| 618 | parts.append(f"{t.long_option}{s}{t.reset}") |
| 619 | else: |
| 620 | parts.append(f"{t.short_option}{s}{t.reset}") |
| 621 | return parts |
| 622 | |
| 623 | # if the Optional doesn't take a value, format is: |
| 624 | # -s, --long |
nothing calls this directly
no test coverage detected