Skip to main content

parse

Function parse 

Source
pub fn parse(argv: &[String]) -> Result<(Option<String>, bool), String>
Expand description

What --version was given, if anything.

A tag goes into a shell command, so it is checked against a charset rather than quoted: quoting is a thing to get subtly wrong once, and no real Git tag needs a character outside this set. Unknown flags are refused instead of forwarded — the installer’s own flag set is not this one’s, and silently passing --no-sudo through would make its behaviour depend on a flag this usage does not document.