Skip to main content

next_command_to

Function next_command_to 

Source
pub fn next_command_to(
    argv: &[String],
    force: bool,
    output: Option<&str>,
) -> Vec<String>
Expand description

next_command, naming output as -o OUTPUT when the dry run named no output (#1847): the default it writes, so the command run as printed cannot write elsewhere. It goes ahead of --force, before any --.