[−][src]Function cli_setup::setup_manpages
pub fn setup_manpages(man: &str, exe_name: &str)
Set up given the manpage contents and an executable name. This function is
intended to be called inside the project build.rs
.
use cli_setup::*; pub const MANPAGE: &str = include_str!("man/executable.1"); setup_manpages(MANPAGE, "executable");