Skip to main content

print_capture_agent_help

Function print_capture_agent_help 

Source
pub fn print_capture_agent_help(cmd: &Command) -> Result<()>
Expand description

Render capture’s clap-derived help with the hidden agent-automation flags revealed. Called from the Commands::Capture dispatch arm once clap has parsed --help-agent (a first-class flag on capture).

Because clap owns the parsing, every global spelling it accepts — -C <path>, --output <fmt>, clustered -vC <path>, attached forms, in any legal position — is handled natively; there is no hand-rolled pre-parse token scan to keep in sync with clap’s grammar.