Skip to content

Add UsageOptions::header, max_option_width, and hidden_groups to rfl::cli::usage - #57

Closed
clockblocker wants to merge 1 commit into
cli-processor-bundlesfrom
cli-usage-options-polish
Closed

clockblocker wants to merge 1 commit into
cli-processor-bundlesfrom
cli-usage-options-polish

Conversation

@clockblocker

Copy link
Copy Markdown
Owner

Extends rfl::cli::UsageOptions with three runtime help-formatting controls:

  • header: optional banner printed before Usage: in detailed output
  • max_option_width (default 40): caps option-column alignment so very wide options wrap their description onto the next line instead of pushing every other row right
  • hidden_groups: omits named rfl::Group sections from detailed help output at runtime

Stacked on cli-processor-bundles (#53). Verified with ASan + UBSan (289/289 CLI tests passed).

@clockblocker

Copy link
Copy Markdown
Owner Author

Folded directly into #51 (cli-usage-options) so all UsageOptions fields (header, max_option_width, hidden_groups, synopsis, description, footer, help_group) land in a single clean PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant