Apply root option visibility to the provided program instance.
Every key the map sets decides its flags: false hides them and true
shows them again, so a later (higher) layer can undo an earlier hide.
Keys the map leaves unset keep their current state.
Help-time only:
This affects every help rendering (root and subcommand); it does not alter parsing or runtime semantics.
Families vs singles:
Families (e.g., "shell") show or hide both ON and OFF flags.
Singles (e.g., "capture") show or hide the named long flag only.
Apply root option visibility to the provided program instance.
Every key the map sets decides its flags:
falsehides them andtrueshows them again, so a later (higher) layer can undo an earlier hide. Keys the map leaves unset keep their current state.Help-time only:
Families vs singles: