Skip to content

Commit 6724a8f

Browse files
committed
Updated change log.
1 parent 0285e8e commit 6724a8f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ prompt is displayed.
8181
- `cmd2` no longer sets a default title for a subparsers group. If you desire a title, you will
8282
need to pass one in like this `parser.add_subparsers(title="subcommands")`. This is standard
8383
`argparse` behavior.
84-
- Added `HelpFormatterRenderable` protocol and `HelpContent` type alias to support context-aware
85-
help content in `argparse`.
86-
- `TextGroup` now implements `HelpFormatterRenderable`.
84+
- `TextGroup` now implements `HelpFormatterRenderable` (see Enhancements section below for more
85+
details).
8786
- Removed `formatter_creator` parameter from `TextGroup.__init__()`.
8887
- Removed `Cmd2ArgumentParser.create_text_group()` method.
8988
- `argparse` and `Rich` integration refactoring:
@@ -145,6 +144,8 @@ prompt is displayed.
145144
full type hints and IDE autocompletion for `self._cmd` without needing to override and cast
146145
the property.
147146
- Added `traceback_kwargs` attribute to allow customization of Rich-based tracebacks.
147+
- Added `HelpFormatterRenderable` protocol and `HelpContent` type alias to support context-aware
148+
help content in `argparse`.
148149
- The `print()` function available in a `pyscript` writes to `self.stdout` and respects the
149150
`allow_style` setting. It also supports printing `Rich` objects.
150151
- Added `Cmd2ArgumentParser.output_to()` context manager to temporarily set the output stream

0 commit comments

Comments
 (0)