Skip to main content

tag

Function tag 

Source
pub fn tag(v: &str) -> Result<String, String>
Expand description

A release tag, checked against a charset rather than quoted.

It goes into a shell command, and quoting is a thing to get subtly wrong once: no real Git tag needs a character outside this set. Unknown flags are refused rather than forwarded — that is clap’s job now — because 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.