Skip to main content

append_cmdline

Function append_cmdline 

Source
pub fn append_cmdline(
    cmdline: &[u16],
    appends: &[impl AsRef<str>],
) -> Option<Vec<u16>>
Expand description

Append each text to the command line unless it is already present.

The substring test is case-sensitive, the rule that leaves Chromium --type= children, which inherit their parent’s switches, untouched. Returns None when nothing changed.