Skip to content

Commit df5d086

Browse files
committed
Merge branch 'main' into prompt-toolkit
2 parents 85f7cb2 + ec339de commit df5d086

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ shell, and the option for a persistent bottom bar that can display realtime stat
5252
- **pre_prompt**: hook method that is called before the prompt is displayed, but after
5353
`prompt-toolkit` event loop has started
5454

55+
## 3.1.1 (January 26, 2026)
56+
57+
- Bug Fixes
58+
- Fixed bug where `rich-argparse` was not coloring cmd2's custom `nargs` formatting
59+
5560
## 3.1.0 (December 25, 2025)
5661

5762
- Potentially Breaking Changes

cmd2/styles.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ class Cmd2Style(StrEnum):
6262
DEFAULT_CMD2_STYLES: dict[str, StyleType] = {
6363
Cmd2Style.COMMAND_LINE: Style(color=Color.CYAN, bold=True),
6464
Cmd2Style.ERROR: Style(color=Color.BRIGHT_RED),
65-
Cmd2Style.HELP_HEADER: Style(color=Color.BRIGHT_GREEN, bold=True),
66-
Cmd2Style.HELP_LEADER: Style(color=Color.CYAN, bold=True),
65+
Cmd2Style.HELP_HEADER: Style(color=Color.BRIGHT_GREEN),
66+
Cmd2Style.HELP_LEADER: Style(color=Color.CYAN),
6767
Cmd2Style.SUCCESS: Style(color=Color.GREEN),
6868
Cmd2Style.TABLE_BORDER: Style(color=Color.BRIGHT_GREEN),
6969
Cmd2Style.WARNING: Style(color=Color.BRIGHT_YELLOW),

0 commit comments

Comments
 (0)