Skip to main content

extras_for

Function extras_for 

Source
pub fn extras_for(subcommand: &str) -> &'static ManContent
Expand description

Look up the doc extras for subcommand.

subcommand is the clap subcommand name (e.g. "fetch", "checkout"); pass "" for the top-level git-lfs page. Returns a reference to ManContent::empty when there’s no entry, so the caller can always splice unconditionally.