Skip to main content

take_root_arg

Function take_root_arg 

Source
pub fn take_root_arg(
    args: impl IntoIterator<Item = String>,
) -> Result<(Option<String>, Vec<String>), String>
Expand description

The --root <dir> (or --root=<dir>) argument taken out of args, and the arguments left for the transport.

ยงErrors

--root without a value.