Skip to main content

looks_like_option

Function looks_like_option 

Source
fn looks_like_option(arg: &OsStr) -> bool
Expand description

Returns whether arg looks like an option, which is where clap stops consuming the values of a num_args(0..) argument. A lone - is a value.