Skip to main content

choice_arg

Function choice_arg 

Source
fn choice_arg(
    arg: Arg,
    options: &[(&'static str, &str)],
    default: Option<&str>,
) -> Arg
Expand description

Accepts only the option keys; the server fills in an omitted default.