diff options
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 98a9549..f25a892 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- `WithOutput(io.Writer)` option for configuring registry output writer. +- `WithErrorHandling(flag.ErrorHandling)` option for configuring flag parse error handling. + +### Changed + +- `NewRegistry` now accepts functional options instead of relying on setter methods. + +### Fixed + +- Subcommand `-h` flag now displays the command's Usage() string instead of empty output. + +### Removed + +- `Registry.SetOutput` method - use `WithOutput` option with `NewRegistry` instead. +- Package-level `SetOutput` function - create a custom registry with `NewRegistry(WithOutput(w))`. + ## [0.3.0] - 2025-12-27 ### Added |