# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [0.4.0] - 2025-12-27 ### 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 - `ManHelpCommand(prefix)` - a help command that opens man pages instead of printing inline help. Uses the prefix to construct page names (e.g., `prefix` for the main page, `prefix-subcommand` for subcommand pages). ## [0.2.0] - 2025-10-13 ### Changed - When no subcommands are specified, usage information and help text will be shown with an exit code of 1. ## [0.1.0] - 2025-10-13 - Initial Release